]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: handle errors from dev_alloc_name
authorMartin Kaiser <martin@kaiser.cx>
Sun, 20 Jun 2021 17:52:49 +0000 (19:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 12:42:44 +0000 (14:42 +0200)
commit5051b31530ad286d101870a472af95368527891e
treeb86c5e4707c7c136321e6039a6431c62ca1d10d1
parent191ff87ecd221cebf830a18705644bc2c97e4c0a
staging: rtl8188eu: handle errors from dev_alloc_name

Fail the usb interface initialization if dev_alloc_name returns an error.

Other wlan drivers like natsemi or atmel use the same error handling.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210620175301.14988-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c