git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513d3c0
)
gpio: dwapb: fix pointer to integer cast
author
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 11:30:24 +0000
(13:30 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 11:30:24 +0000
(13:30 +0200)
The statements BUG_ON(ctx == 0) was implicitly casting a pointer
to an integer for comparison. Do this with a bool test instead
to get away from sparse warnings.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dwapb.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-dwapb.c
Simple merge