OSDN Git Service

staging: iio: ad5933: fix format string warnings
authorAsaf Vertz <asaf.vertz@tandemg.com>
Tue, 20 Jan 2015 07:25:22 +0000 (09:25 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:34 +0000 (22:55 +0000)
commitf0002b3bd97b8de5a9e6ecf359821e85f1f22ed3
tree313f9353faa0af1826f6b4013ccec041cd456716
parent3a70eb878585b43895232141c70162643ac2f89b
staging: iio: ad5933: fix format string warnings

Fixed the following warnings (reported by cppcheck):
[drivers/staging/iio/impedance-analyzer/ad5933.c:363]: (warning) %d in format string (no. 1)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 1)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 2)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 3)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 4)
requires 'int' but the argument type is 'unsigned int'.

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/impedance-analyzer/ad5933.c