aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2014-01-07 16:56:35 +0800
committerGreg Kroah-Hartman <[email protected]>2014-01-08 15:22:49 -0800
commit634608f27acd098b245ca6fe60e06701185eb170 (patch)
tree1206ecfe325c1d14167a2cd72e0ca5f02f713893 /scripts/gdb/linux/modules.py
parent3c1547e774b7d8485b7a1b15bb5e558d595ffc03 (diff)
misc: genwqe: fix return value check in genwqe_device_create()
In case of error, the function device_create_with_groups() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Frank Haverkamp <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions