busybox/miscutils
Bartosz Golaszewski 74bb9d5e63 i2cdump: bail-out if block read fails
We should bail-out if i2c_smbus_read_block_data() or
i2c_smbus_read_i2c_block_data() return 0 or less. Add the missing check
for the former and fix the existing for the latter.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-11-01 20:55:09 +01:00
..
2015-10-25 20:36:03 +01:00
2015-07-13 03:25:46 +02:00
2015-05-25 13:31:25 +02:00
2015-10-13 17:17:34 +02:00
2015-10-11 16:58:18 +02:00
2015-04-02 23:03:46 +02:00
2015-10-13 17:17:34 +02:00
2015-04-02 23:03:46 +02:00