diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-15 02:57:14 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-27 09:19:07 -0400 |
commit | e2a438bd7116889af36304903b92e56d0f347228 (patch) | |
tree | 3812c8dde555c3fc50189e742969c40fcdf671c4 /include/linux/overflow.h | |
parent | 4ae27444100f54e6db3a046f086ba4e70e1ac22b (diff) |
RDMA/i40iw: Handle workqueue allocation failure
alloc_ordered_workqueue may fail and return NULL. The fix captures the
failure and handles it properly to avoid potential NULL pointer
dereferences.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: Shiraz, Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions