diff options
author | 2015-10-19 16:57:10 +0000 | |
---|---|---|
committer | 2015-10-21 16:41:19 -0400 | |
commit | fe274c5aed1b5e311e0e83306572b70312c0313a (patch) | |
tree | 393dd2630ce412b115271c3ba454609816633535 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | MAINTAINERS: update usnic maintainer contacts (diff) | |
download | wireguard-linux-fe274c5aed1b5e311e0e83306572b70312c0313a.tar.xz wireguard-linux-fe274c5aed1b5e311e0e83306572b70312c0313a.zip |
usnic: correctly handle kzalloc return value
Since kzalloc returns memory address, not error code,
it should be checked whether it is null or not.
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