diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 08:06:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-12 22:44:43 +0100 |
commit | eb32cfcdef2305dc0e44a65d42801315669bb27e (patch) | |
tree | 643aac75c72813b02dfd9f9355d6020181419adb /drivers/net/ethernet/fujitsu/fmvj18x_cs.c | |
parent | isdn: hfcpci: fix potential NULL pointer dereference (diff) | |
download | linux-eb32cfcdef2305dc0e44a65d42801315669bb27e.tar.xz linux-eb32cfcdef2305dc0e44a65d42801315669bb27e.zip |
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 '')
0 files changed, 0 insertions, 0 deletions