commit:     46c17fd394681821cb3a4be0ed1b94f5c6fe0de5
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 15:32:04 2020 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 15:32:04 2020 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=46c17fd3

Linux patch 4.9.243

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

 0000_README              |  4 ++++
 1242_linux-4.9.243.patch | 28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/0000_README b/0000_README
index bee8e2e..4546eb0 100644
--- a/0000_README
+++ b/0000_README
@@ -1011,6 +1011,10 @@ Patch:  1241_linux-4.9.242.patch
 From:   http://www.kernel.org
 Desc:   Linux 4.9.242
 
+Patch:  1242_linux-4.9.243.patch
+From:   http://www.kernel.org
+Desc:   Linux 4.9.243
+
 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/1242_linux-4.9.243.patch b/1242_linux-4.9.243.patch
new file mode 100644
index 0000000..0b7845a
--- /dev/null
+++ b/1242_linux-4.9.243.patch
@@ -0,0 +1,28 @@
+diff --git a/Makefile b/Makefile
+index d41de2c1159e7..c6fcfe4bfeed5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+ VERSION = 4
+ PATCHLEVEL = 9
+-SUBLEVEL = 242
++SUBLEVEL = 243
+ EXTRAVERSION =
+ NAME = Roaring Lionus
+ 
+diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c
+index 5b10b50f8686f..5c064df7d81f1 100644
+--- a/drivers/powercap/powercap_sys.c
++++ b/drivers/powercap/powercap_sys.c
+@@ -379,9 +379,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