Thread (7 messages) 7 messages, 6 authors, 2015-12-24

[PATCH] pinctrl: nsp-gpio: fix type of iterator

From: Linus Walleij <hidden>
Date: 2015-12-24 09:04:07
Also in: linux-gpio, lkml

On Wed, Dec 23, 2015 at 11:37 AM, Andrzej Hajda [off-list ref] wrote:
Iterator i declared as unsigned is always non-negative so the
loop will never end.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <redacted>
I already applied Dan Carpenters fix, somehow it was earlier
in my mail flow. Thanks anyways!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help