Skip to content
Commit 07161b24 authored by 倪琛's avatar 倪琛 Committed by Jakub Kicinski
Browse files

sr9800: Add check for usbnet_get_endpoints



Add check for usbnet_get_endpoints() and return the error if it fails
in order to transfer the error.

Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Fixes: 19a38d8e ("USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800 Device Driver Support")
Link: https://lore.kernel.org/r/20240305075927.261284-1-nichen@iscas.ac.cn


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 41cca054
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment