summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-12 02:06:47 -0500
committerDavid S. Miller <davem@davemloft.net>2019-03-12 14:44:43 -0700
commiteb32cfcdef2305dc0e44a65d42801315669bb27e (patch)
tree643aac75c72813b02dfd9f9355d6020181419adb /lib/hweight.c
parent10010493c1261ca3d7444d372f281009890a5ff7 (diff)
downloadlinux-eb32cfcdef2305dc0e44a65d42801315669bb27e.tar.bz2
net: qlogic: fix a potential NULL pointer dereference
In case create_singlethread_workqueue fails, the fix returns -ENOMEM to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions