aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-08-17 09:56:04 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-08-21 09:57:23 +0200
commita6f26606ddd03c5eab8b2132f1bfaa768c06158f (patch)
treeba47b9dfdc744ccfbf00ffc09f8b642887575232 /README
parent80ba93639b5dfde6b7897499b69fefc733a94a59 (diff)
rtc: rv3029: revert error handling patch to rv3029_eeprom_write()
My error handling "cleanup" was totally wrong. Both the "err" and "ret" variables are required. The "err" variable holds the error codes for rv3029_eeprom_enter/exit() and the "ret" variable holds the error codes for if actual write fails. In my patch if the write failed, the function probably still returned success. Reported-by: Tom Evans <tom.evans@motec.com.au> Fixes: 97f5b0379c38 ("rtc: rv3029: Clean up error handling in rv3029_eeprom_write()") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20190817065604.GB29951@mwanda Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions