diff options
author | 2015-10-15 21:15:15 +0000 | |
---|---|---|
committer | 2015-10-21 16:41:19 -0400 | |
commit | 2c79dad8953626b8b808a353bc661c9f321a64c0 (patch) | |
tree | 814f22590750e094867201bfc9a9849c5fdf0c30 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'k.o/for-4.3-v1' into k.o/for-4.4 (diff) | |
download | wireguard-linux-2c79dad8953626b8b808a353bc661c9f321a64c0.tar.xz wireguard-linux-2c79dad8953626b8b808a353bc661c9f321a64c0.zip |
usnic: correctly check failed allocation
Since ib_alloc_device returns allocated memory address, not error,
it should be checked as IS_NULL, not IS_ERR_OR_NULL.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Reviewed-by: Dave Goodell <dgoodell@cisco.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions