diff options
author | Kuninori Morimoto <[email protected]> | 2012-09-11 22:19:47 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2012-09-12 17:45:01 +0200 |
commit | 3c0528810c18213a4d820da74557ba89339cb6ed (patch) | |
tree | 9c5ae912c7d6fc82484d5bbb0731adf4b3b32d0a /tools/perf/util/trace-event-scripting.c | |
parent | 20bc4d5d565159eb2b942bf4b7fae86fba94e32c (diff) |
gpio: pcf857x: fixup smatch WARNING
6e20a0a429bd4dc07d6de16d9c247270e04e4aa0
(gpio: pcf857x: enable gpio_to_irq() support)
added new smatch warnings
drivers/gpio/gpio-pcf857x.c:288 pcf857x_probe() error: we previously \
assumed 'pdata' could be null (see line 277)
drivers/gpio/gpio-pcf857x.c:364 pcf857x_probe() warn: variable dereferenced\
before check 'pdata' (see line 292)
drivers/gpio/gpio-pcf857x.c:421 pcf857x_remove() error: we previously\
assumed 'pdata' could be null (see line 410)
This patch fixes it
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions