Re: [PATCH v2] net: usb: asix_devices: Check return value of usbnet_get_endpoints
From: patchwork-bot+netdevbpf
Date: Wed Oct 29 2025 - 21:00:36 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 27 Oct 2025 00:43:16 +0800 you wrote:
> The code did not check the return value of usbnet_get_endpoints.
> Add checks and return the error if it fails to transfer the error.
>
> Found via static anlaysis and this is similar to
> commit 07161b2416f7 ("sr9800: Add check for usbnet_get_endpoints").
>
> Fixes: 933a27d39e0e ("USB: asix - Add AX88178 support and many other changes")
> Fixes: 2e55cc7210fe ("[PATCH] USB: usbnet (3/9) module for ASIX Ethernet adapters")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- [v2] net: usb: asix_devices: Check return value of usbnet_get_endpoints
https://git.kernel.org/netdev/net/c/dc89548c6926
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html