]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: handle failure on workqueue creation
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 19 Apr 2018 10:52:08 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Apr 2018 18:42:31 +0000 (14:42 -0400)
commitedf841a8115ae8e491271678a1c29fbdd1b86af4
tree4ce573f7a3b5e42da9b3f054df06530bfe6463c1
parent232cda57a6d6513d2f5c8e67da4a36b15651aab3
s390/qeth: handle failure on workqueue creation

Creating the global workqueue during driver init may fail, deal with it.
Also, destroy the created workqueue on any subsequent error.

Fixes: f7713dd6b633 ("qeth: Support VEPA mode")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c