aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorInsu Yun <[email protected]>2015-10-19 16:57:10 +0000
committerDoug Ledford <[email protected]>2015-10-21 16:41:19 -0400
commitfe274c5aed1b5e311e0e83306572b70312c0313a (patch)
tree393dd2630ce412b115271c3ba454609816633535 /tools/perf/scripts/python
parent35ef4a9ebfe3392da8ca025c8c16365c9da472e5 (diff)
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 <[email protected]> Reviewed-by: Dave Goodell <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions