summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2018-12-26 06:09:11 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-01-22 21:03:43 +0300
commit9a20b5e35a536d6bb4b2d4a3b14a0457e205356c (patch)
tree2e9c4093c1e645bb9784df16383f292cac1ab43b /MAINTAINERS
parent5910fa0d0d9809c4d8fbf1fb905a8c86fbf2eccb (diff)
downloadlinux-9a20b5e35a536d6bb4b2d4a3b14a0457e205356c.tar.xz
rtc: hym8563: fix a missing check of block data read
When i2c_smbus_read_i2c_block_data() fails, the read data in "buf" could be incorrect and should not be used. The fix checks if i2c_smbus_read_i2c_block_data fails, and if so, return its error code upstream. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions