commit:     1a8d442159ea0071d7e86932fe7a0e006019393b
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 15:48:20 2020 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 15:48:20 2020 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=1a8d4421

Linux patch 5.4.77

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 0000_README             |  4 ++++
 1076_linux-5.4.77.patch | 29 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/0000_README b/0000_README
index c41c32c..6522647 100644
--- a/0000_README
+++ b/0000_README
@@ -347,6 +347,10 @@ Patch:  1075_linux-5.4.76.patch
 From:   http://www.kernel.org
 Desc:   Linux 5.4.76
 
+Patch:  1076_linux-5.4.77.patch
+From:   http://www.kernel.org
+Desc:   Linux 5.4.77
+
 Patch:  1500_XATTR_USER_PREFIX.patch
 From:   https://bugs.gentoo.org/show_bug.cgi?id=470644
 Desc:   Support for namespace user.pax.* on tmpfs.

diff --git a/1076_linux-5.4.77.patch b/1076_linux-5.4.77.patch
new file mode 100644
index 0000000..ef1e5c4
--- /dev/null
+++ b/1076_linux-5.4.77.patch
@@ -0,0 +1,29 @@
+diff --git a/Makefile b/Makefile
+index 842ed84118107..2e24b568b93fd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ VERSION = 5
+ PATCHLEVEL = 4
+-SUBLEVEL = 76
++SUBLEVEL = 77
+ EXTRAVERSION =
+ NAME = Kleptomaniac Octopus
+ 
+diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c
+index f808c5fa9838c..3f0b8e2ef3d46 100644
+--- a/drivers/powercap/powercap_sys.c
++++ b/drivers/powercap/powercap_sys.c
+@@ -367,9 +367,9 @@ static void create_power_zone_common_attributes(
+                                       &dev_attr_max_energy_range_uj.attr;
+       if (power_zone->ops->get_energy_uj) {
+               if (power_zone->ops->reset_energy_uj)
+-                      dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO;
++                      dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
+               else
+-                      dev_attr_energy_uj.attr.mode = S_IRUGO;
++                      dev_attr_energy_uj.attr.mode = S_IRUSR;
+               power_zone->zone_dev_attrs[count++] =
+                                       &dev_attr_energy_uj.attr;
+       }

Reply via email to