Loading
asix: Add check for usbnet_get_endpoints
stable inclusion from stable-v5.10.208 commit cfbf618e9a21b5d418d4b0c2b18473dcce8e5f01 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9T22K Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cfbf618e9a21b5d418d4b0c2b18473dcce8e5f01 -------------------------------- [ Upstream commit eaac6a2d26b65511e164772bec6918fcbc61938e ] Add check for usbnet_get_endpoints() and return the error if it fails in order to transfer the error. Fixes: 16626b0c ("asix: Add a new driver for the AX88172A") Signed-off-by:Chen Ni <nichen@iscas.ac.cn> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng1 <sanglipeng1@jd.com>