summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2022-04-07 05:20:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 20:02:37 +0300
commit17b2fb9c231ea418fa6c8643f2c786ec991b56f5 (patch)
tree42fc4d8c401dc3e53ffce078b2c416962699e316 /include/linux
parenteafc69a488111aa3b18794602ecc52acbef84288 (diff)
downloadlinux-17b2fb9c231ea418fa6c8643f2c786ec991b56f5.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions