# Re: \[PATCH net v2\] usbnet: fix error return code in usbnet\_probe()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-10-27 19:20:11 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/1556065
- Thread: https://ratatoskr.run/netdev/2021/10/1554310/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [ref]:

On Tue, 26 Oct 2021 20:40:15 +0800 you wrote:
> Return error code if usb_maxpacket() returns 0 in usbnet_probe()
> 
> Fixes: 397430b50a36 ("usbnet: sanity check for maxpacket")
> Reported-by: Hulk Robot <redacted>
> Signed-off-by: Wang Hai <redacted>
> ---
> v1->v2: change '-EINVAL' to '-ENODEV'
>  drivers/net/usb/usbnet.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [net,v2] usbnet: fix error return code in usbnet_probe()
    https://git.kernel.org/netdev/net/c/6f7c88691191

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
