Files
linux/drivers
Linus Walleij 4b63739efa gpio: generic: fix signedness bug found by cppcheck
cppcheck reports this:

(style) int result is returned as long value. If the return
value is long to avoid loss of information, then you have
loss of information.

This can be fixed with (1UL << pin) but that is the same
as using <linux/bitops.h> that already use 1UL so take
this approach.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-05 11:13:28 +01:00
..
2015-11-19 09:24:35 +01:00
2015-12-21 09:36:21 +01:00
2015-12-21 09:36:21 +01:00
2015-11-19 09:24:35 +01:00
2015-10-29 09:02:16 +09:00
2015-12-21 09:36:21 +01:00
2015-11-19 09:24:35 +01:00
2015-11-08 16:24:43 -05:00
2016-01-05 10:23:28 +01:00
2015-12-21 09:36:21 +01:00