aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-11-18 14:35:57 +0300
committerLinus Walleij <[email protected]>2016-11-22 09:55:33 +0100
commitb3cde198b17f504643cc1eeffc4623f03326f436 (patch)
treeb8d0477d4146d4a9da16ce266d19caa92a2c78c6 /scripts/gdb/linux/proc.py
parent04d02c7a5ec68debdab8eb71bffe8a9381cb1b1a (diff)
pinctrl: sunxi: Testing the wrong variable
Smatch complains that we dereference "map" before testing it for NULL which is true. We should be testing "*map" instead. Also on the error path, we should free *map and set it to NULL. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions