Annotation of /trunk/kernel-alx-legacy/patches-4.9/0342-4.9.243-all-fixes.patch
Parent Directory | Revision Log
Revision 3644 -
(hide annotations)
(download)
Mon Oct 24 14:07:24 2022 UTC (18 months, 2 weeks ago) by niro
File size: 893 byte(s)
Mon Oct 24 14:07:24 2022 UTC (18 months, 2 weeks ago) by niro
File size: 893 byte(s)
-linux-4.9.243
1 | niro | 3644 | diff --git a/Makefile b/Makefile |
2 | index d41de2c1159e7..c6fcfe4bfeed5 100644 | ||
3 | --- a/Makefile | ||
4 | +++ b/Makefile | ||
5 | @@ -1,6 +1,6 @@ | ||
6 | VERSION = 4 | ||
7 | PATCHLEVEL = 9 | ||
8 | -SUBLEVEL = 242 | ||
9 | +SUBLEVEL = 243 | ||
10 | EXTRAVERSION = | ||
11 | NAME = Roaring Lionus | ||
12 | |||
13 | diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c | ||
14 | index 5b10b50f8686f..5c064df7d81f1 100644 | ||
15 | --- a/drivers/powercap/powercap_sys.c | ||
16 | +++ b/drivers/powercap/powercap_sys.c | ||
17 | @@ -379,9 +379,9 @@ static void create_power_zone_common_attributes( | ||
18 | &dev_attr_max_energy_range_uj.attr; | ||
19 | if (power_zone->ops->get_energy_uj) { | ||
20 | if (power_zone->ops->reset_energy_uj) | ||
21 | - dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO; | ||
22 | + dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR; | ||
23 | else | ||
24 | - dev_attr_energy_uj.attr.mode = S_IRUGO; | ||
25 | + dev_attr_energy_uj.attr.mode = S_IRUSR; | ||
26 | power_zone->zone_dev_attrs[count++] = | ||
27 | &dev_attr_energy_uj.attr; | ||
28 | } |