diff options
author | 2014-09-24 13:30:24 +0200 | |
---|---|---|
committer | 2014-09-24 13:30:24 +0200 | |
commit | 58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a (patch) | |
tree | fc3134dc67e785162531c19ed4f2af319a836ad8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpio: xgene: Remove unneeded #ifdef CONFIG_OF guard (diff) | |
download | wireguard-linux-58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a.tar.xz wireguard-linux-58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a.zip |
gpio: dwapb: fix pointer to integer cast
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions