diff options
| author | Insu Yun <[email protected]> | 2015-10-15 21:15:15 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2015-10-21 16:41:19 -0400 |
| commit | 2c79dad8953626b8b808a353bc661c9f321a64c0 (patch) | |
| tree | 814f22590750e094867201bfc9a9849c5fdf0c30 /scripts/stackusage | |
| parent | fc81a06965396150a395b1fe29f1bd13d4825ad6 (diff) | |
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 <[email protected]>
Reviewed-by: Dave Goodell <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions