iio: check return value of sscanf
cover iio: check return value of sscanf
This patchset fixes the checkpatch.pl warnings:
WARNING: unchecked sscanf return value
by checking that the return value of sscanf call is the one expected.
Ioana Ciornei (2):
iio: gyro: check sscanf return value
iio: imu: check sscanf return value
drivers/iio/gyro/adis16136.c | 4 +++- drivers/iio/imu/adis16400_core.c | 6 +++++- drivers/iio/imu/adis16480.c | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.4