diff options
author | Dan Carpenter <[email protected]> | 2017-08-25 11:43:59 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-08-28 19:12:24 -0400 |
commit | d518a44d317d92f4c297ea26a308b1ac1a980d33 (patch) | |
tree | 88cea46d5a535430a33dd2f614c2d1b826659216 /lib/string_helpers.c | |
parent | 280ad49a97ee7adf5c86f70f7ea1ff60a755b294 (diff) |
IB/usnic: check for allocation failure
usnic_uiom_get_dev_list() can return ERR_PTR(-ENOMEM) so we should check
for that.
Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions