diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2016-02-23 07:45:34 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-25 15:20:45 +0100 |
commit | d34607d11d7c72a201715e720048ca5eee613706 (patch) | |
tree | f542bb5e5d875eb4ab39dfffd58937f253b35eb4 /drivers/gpio/gpio-pisosr.c | |
parent | 2af66e1dece9fb92a7ef7a270f58a72b82491363 (diff) | |
download | op-kernel-dev-d34607d11d7c72a201715e720048ca5eee613706.zip op-kernel-dev-d34607d11d7c72a201715e720048ca5eee613706.tar.gz |
gpio: xgene: fix type of variable containing error codes
ret variable can contain error values and is compared with zero.
Its type must be signed.
The problem has been detected using coccinelle script
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pisosr.c')
0 files changed, 0 insertions, 0 deletions