kaweth: fix oops upon failed memory allocation
authorOliver Neukum <oneukum@suse.com>
Wed, 17 Aug 2016 13:51:56 +0000 (15:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:25:33 +0000 (23:25 -0700)
commit575ced7f8090c1a4e91e2daf8da9352a6a1fc7a7
tree8a5e52dfb0a2b5f3c3f58e093a58d950783eb140
parent60bcabd080f53561efa9288be45c128feda1a8bb
kaweth: fix oops upon failed memory allocation

Just return an error upon failure.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/kaweth.c