On Tue, 18 Aug 2020 15:41:32 +0200, Bartosz Golaszewski wrote: > On Fri, Aug 7, 2020 at 3:00 PM Jean Delvare <jdelvare@xxxxxxx> wrote: > > > > Special handling of the Sony VAIO EEPROMs is the last feature of the > > legacy eeprom driver that the at24 driver does not support. Adding > > this would let us deprecate and eventually remove the legacy eeprom > > driver. > > > > So add the option to specify a post-processing callback function that > > is called after reading data from the EEPROM, before it is returned > > to the user. The 24c02-vaio type is the first use case of that option: > > the callback function will mask the sensitive data for non-root users > > exactly as the legacy eeprom driver was doing. > > > > Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> > > Cc: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> > > Cc: Arnd Bergmann <arnd@xxxxxxxx> > > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > > --- > > Bartosz, this is a different approach to solving the problem compared > > to your suggestion. It's even more generic in a way. Let me know what > > you think. > > Patch applied with a stray newline dropped. Oh, I see it now. Sorry and that and thanks for catching and fixing it. -- Jean Delvare SUSE L3 Support