diff options
| author | Wei Yongjun <[email protected]> | 2016-08-12 11:22:22 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-15 16:25:59 +0200 |
| commit | 6e958051cb0742dd54bb61528c130bd6eaecae0d (patch) | |
| tree | e327c5002cfbfa1b6d372362b6d41e35bdf624ac /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | d35cbed6047c0207b4be9ff60b541c331b62b59c (diff) | |
usbip: vhci_hcd: fix return value check in add_platform_device()
In case of error, the function platform_device_register_simple() 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]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions