We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7409186 + 2544d06 commit 9af38fdCopy full SHA for 9af38fd
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 =
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