summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2022-04-07 10:20:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 19:02:37 +0200
commit17b2fb9c231ea418fa6c8643f2c786ec991b56f5 (patch)
tree42fc4d8c401dc3e53ffce078b2c416962699e316 /net/lapb/lapb_subr.c
parenteafc69a488111aa3b18794602ecc52acbef84288 (diff)
usb-storage: alauda: fix initFunction error return
The initFunction is called when probing a new device, its call relation is like: USB core: probe() -> usb_stor_probe2() -> usb_stor_acquire_resources() -> init_alauda() That is, the error return of the initFunction should tell USB core what happened instead of using error code like USB_STOR_TRANSPORT_ERROR. Signed-off-by: Lin Ma <linma@zju.edu.cn> Link: https://lore.kernel.org/r/20220407022058.3741-1-linma@zju.edu.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions