[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164672101117.16776.14954414066959843384.git-patchwork-notify@kernel.org>
Date: Tue, 08 Mar 2022 06:30:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Zheyu Ma <zheyuma97@...il.com>
Cc: andrew@...n.ch, rajur@...lsio.com, davem@...emloft.net,
kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: cxgb3: Fix an error code when probing the driver
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Sun, 6 Mar 2022 05:56:32 +0000 you wrote:
> During the process of driver probing, probe function should return < 0
> for failure, otherwise kernel will treat value >= 0 as success.
>
> Therefore, the driver should set 'err' to -ENODEV when
> 'adapter->registered_device_map' is NULL. Otherwise kernel will assume
> that the driver has been successfully probed and will cause unexpected
> errors.
>
> [...]
Here is the summary with links:
- [v2] net: cxgb3: Fix an error code when probing the driver
https://git.kernel.org/netdev/net-next/c/69adcb988a06
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists