Magellan Linux

Contents of /trunk/kernel-alx/patches-5.4/0176-5.4.77-all-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3635 - (show annotations) (download)
Mon Oct 24 12:34:12 2022 UTC (18 months, 1 week ago) by niro
File size: 933 byte(s)
-sync kernel patches
1 diff --git a/Makefile b/Makefile
2 index 842ed84118107..2e24b568b93fd 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -1,7 +1,7 @@
6 # SPDX-License-Identifier: GPL-2.0
7 VERSION = 5
8 PATCHLEVEL = 4
9 -SUBLEVEL = 76
10 +SUBLEVEL = 77
11 EXTRAVERSION =
12 NAME = Kleptomaniac Octopus
13
14 diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c
15 index f808c5fa9838c..3f0b8e2ef3d46 100644
16 --- a/drivers/powercap/powercap_sys.c
17 +++ b/drivers/powercap/powercap_sys.c
18 @@ -367,9 +367,9 @@ static void create_power_zone_common_attributes(
19 &dev_attr_max_energy_range_uj.attr;
20 if (power_zone->ops->get_energy_uj) {
21 if (power_zone->ops->reset_energy_uj)
22 - dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO;
23 + dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
24 else
25 - dev_attr_energy_uj.attr.mode = S_IRUGO;
26 + dev_attr_energy_uj.attr.mode = S_IRUSR;
27 power_zone->zone_dev_attrs[count++] =
28 &dev_attr_energy_uj.attr;
29 }