On Tue, Sep 17, 2019 at 04:30:01PM +0200, Jean Delvare wrote: > [ Upstream commit e70d8b287301eb6d7c7761c6171c56af62110ea3 ] > > The compatibility "eeprom" attribute is currently root-only no > matter what the configuration says. The "nvmem" attribute does > respect the setting of the root_only configuration bit, so do the > same for "eeprom". > > Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> > Fixes: b6c217ab9be6 ("nvmem: Add backwards compatibility support for older EEPROM drivers.") > Reviewed-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> > Cc: Andrew Lunn <andrew@xxxxxxx> > Cc: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Link: https://lore.kernel.org/r/20190728184255.563332e6@endymion > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> > --- > This is the backport of commit e70d8b287301 "nvmem: Use the same > permissions for eeprom as for nvmem" for stable kernel branches 4.19, > 4.14 and 4.9. Thanks. Now queued up, thanks. greg k-h