]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: tsl2x7x_core: fix format string warnings
authorAsaf Vertz <asaf.vertz@tandemg.com>
Tue, 20 Jan 2015 09:27:58 +0000 (11:27 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:36 +0000 (22:55 +0000)
commit2d7913f5c24da8f524a2d00a8d8cad46c473d5ea
treeac39292a72d867d59877503059b03e8ed4b966de
parentda01b7383427dae0ccefb8ea4a180a0c7b6b2009
staging: iio: tsl2x7x_core: fix format string warnings

Fixed the following warnings (reported by cppcheck):
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 1)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 2)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 3)
requires 'int' but the argument type is 'unsigned int'.

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x_core.c