diff options
author | Jean Delvare <[email protected]> | 2019-10-04 10:37:48 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2019-10-04 10:46:39 +0200 |
commit | 285be87c79e173f08af5e1a6417a106fb14934b7 (patch) | |
tree | 80ea9ccb16a4a1ed26296f996470eed7afb85c5d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
eeprom: at24: Improve confusing log message
Currently when binding to an spd EEPROM, the at24 drivers logs the
following message:
256 byte spd EEPROM, read-only, 0 bytes/write
The last part is confusing, as by definition you don't write to a
read-only EEPROM, plus "0 bytes/write" makes no sense whatsoever.
I propose to have a different message for read-only EEPROMs, which
does not include this last part.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions