diff options
author | 2021-05-03 13:56:40 +0200 | |
---|---|---|
committer | 2021-05-13 17:30:26 +0200 | |
commit | 30b0e0ee9d02b97b68705c46b41444786effc40c (patch) | |
tree | 64abe7478454dce9c3ff5fc33fbb0e7af6fca5aa /net/smc | |
parent | Revert "rtlwifi: fix a potential NULL pointer dereference" (diff) | |
download | wireguard-linux-30b0e0ee9d02b97b68705c46b41444786effc40c.tar.xz wireguard-linux-30b0e0ee9d02b97b68705c46b41444786effc40c.zip |
net: rtlwifi: properly check for alloc_workqueue() failure
If alloc_workqueue() fails, properly catch this and propagate the error
to the calling functions, so that the devuce initialization will
properly error out.
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Bryan Brattlof <hello@bryanbrattlof.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-14-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions