aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-08 11:40:30 -0800
committerDmitry Torokhov <[email protected]>2021-03-09 21:41:28 -0800
commit2d8aaa1720c6128ce263a2afcd3f8ee2e5551af8 (patch)
treec94d5b9390a97335fcaff1393a5f676ca9f842ae /scripts/gdb/linux/tasks.py
parent30b3f68715595dee7fe4d9bd91a2252c3becdf0a (diff)
Input: n64joy - fix return value check in n64joy_probe()
In case of error, the function devm_platform_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 3bdffa8ffb45 ("Input: Add N64 controller driver") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Lauri Kasanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions