]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: indicate error when netdev allocation fails
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 12 Sep 2018 13:31:32 +0000 (15:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 20:12:51 +0000 (13:12 -0700)
commita52d00c2d0ec1eb593a8874a3ca2ad62a9f3c944
tree3c1e652c0526a694d3e4119ac61b9cb0effd9f0a
parentb425e34abd36489c4fc48dc542a200ddcd91b36f
s390/qeth: indicate error when netdev allocation fails

Bailing out on allocation error is nice, but we also need to tell the
ccwgroup core that creating the qeth groupdev failed.

Fixes: 2b7a295719fd ("s390/qeth: allocate netdevice early")
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