[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163767001019.10565.13818126388186379629.git-patchwork-notify@kernel.org>
Date: Tue, 23 Nov 2021 12:20:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Zheyu Ma <zheyuma97@...il.com>
Cc: rajur@...lsio.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: chelsio: cxgb4vf: Fix an error code in
cxgb4vf_pci_probe()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 23 Nov 2021 02:21:50 +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, we should set err to -EINVAL when
> adapter->registered_device_map is NULL. Otherwise kernel will assume
> that driver has been successfully probed and will cause unexpected
> errors.
>
> [...]
Here is the summary with links:
- net: chelsio: cxgb4vf: Fix an error code in cxgb4vf_pci_probe()
https://git.kernel.org/netdev/net/c/b82d71c0f84a
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