We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78b09a0 + 2544d06 commit e9345ecCopy full SHA for e9345ec
2 files changed
Makefile
@@ -1,7 +1,7 @@
1
# SPDX-License-Identifier: GPL-2.0
2
VERSION = 5
3
PATCHLEVEL = 4
4
-SUBLEVEL = 76
+SUBLEVEL = 77
5
EXTRAVERSION = -linux4sam-2020.10-rc3
6
NAME = Kleptomaniac Octopus
7
drivers/powercap/powercap_sys.c
@@ -367,9 +367,9 @@ static void create_power_zone_common_attributes(
367
&dev_attr_max_energy_range_uj.attr;
368
if (power_zone->ops->get_energy_uj) {
369
if (power_zone->ops->reset_energy_uj)
370
- dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO;
+ dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
371
else
372
- dev_attr_energy_uj.attr.mode = S_IRUGO;
+ dev_attr_energy_uj.attr.mode = S_IRUSR;
373
power_zone->zone_dev_attrs[count++] =
374
&dev_attr_energy_uj.attr;
375
}
0 commit comments