FAILED: patch "[PATCH] eeprom: at24: make spd world-readable again" failed to apply to 4.19-stable tree
Subsystems (2)
[email protected]
maintainerThe patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 25e5ef302c24a6fead369c0cfe88c073d7b97ca8 Mon Sep 17 00:00:00 2001
From: Jean Delvare <[email protected]>
Date: Sun, 28 Jul 2019 18:41:38 +0200
Subject: [PATCH] eeprom: at24: make spd world-readable again
The integration of the at24 driver into the nvmem framework broke the world-readability of spd EEPROMs. Fix it.
drivers/misc/eeprom/at24.c +1 -1
@@ -685,7 +685,7 @@ static int at24_probe(struct i2c_client *client) nvmem_config.name =dev_name (dev); nvmem_config.dev = dev; nvmem_config.read_only = !writable; - nvmem_config.root_only = true; + nvmem_config.root_only = !(flags &AT24_FLAG_IRUGO ); nvmem_config.owner =THIS_MODULE ; nvmem_config.compat = true; nvmem_config.base_dev = dev;
Hi Greg,
Quoted 1 line · On Mon, 05 Aug 2019 07:25:48 +0200, [email protected] wrote:
The patch below does not apply to the 4.19-stable tree.
Technically it applies. Just it doesn't build ;-)
Quoted 3 lines
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
The backport is trivial, I'll take care of it, thanks.
Signature · 2 lines
Jean Delvare SUSE L3 Support
pon., 5 sie 2019 o 10:32 Jean Delvare <[email protected]> napisał(a):
Quoted 12 lines
Hi Greg,
Quoted 1 line · On Mon, 05 Aug 2019 07:25:48 +0200, [email protected] wrote:
The patch below does not apply to the 4.19-stable tree.
Technically it applies. Just it doesn't build ;-)
Quoted 3 lines
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
Quoted 5 lines
The backport is trivial, I'll take care of it, thanks.
--
Jean Delvare
SUSE L3 Support
Hi Jean,
I already sent backports for v4.9, v4.14 and v4.19 earlier today.
Bart
Greg KH
maintainerQuoted 15 lines · Bartosz Golaszewski
pon., 5 sie 2019 o 10:32 Jean Delvare <[email protected]> napisał(a):
Quoted 14 lines
Hi Greg,
Quoted 1 line · On Mon, 05 Aug 2019 07:25:48 +0200, [email protected] wrote:
The patch below does not apply to the 4.19-stable tree.
Technically it applies. Just it doesn't build ;-)
Quoted 3 lines
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
The backport is trivial, I'll take care of it, thanks.
Quoted 7 lines
Quoted 3 lines
--
Jean Delvare
SUSE L3 SupportHi Jean,
I already sent backports for v4.9, v4.14 and v4.19 earlier today.
Thanks for those, now queued up.
greg k-h