Skip to contentSkip to conversation

iio: check return value of sscanf

PATCH New Ioana Ciornei 1 participant 1 message Nov 1, 2015 IIO

lore
Share & tools
lore
#0 lore raw

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