From: patchwork-bot+netdevbpf@kernel.org
To: Zheyu Ma <zheyuma97@gmail.com>
Cc: andrew@lunn.ch, rajur@chelsio.com, davem@davemloft.net,
kuba@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] net: cxgb3: Fix an error code when probing the driver
Date: Tue, 08 Mar 2022 06:30:11 +0000 [thread overview]
Message-ID: <164672101117.16776.14954414066959843384.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <1646546192-32737-1-git-send-email-zheyuma97@gmail.com>
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.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
prev parent reply other threads:[~2022-03-08 6:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-05 14:24 [PATCH] net: cxgb3: Fix an error code when probing the driver Zheyu Ma
2022-03-05 15:40 ` Andrew Lunn
2022-03-06 5:56 ` [PATCH v2] " Zheyu Ma
2022-03-06 15:15 ` Andrew Lunn
2022-03-08 6:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164672101117.16776.14954414066959843384.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rajur@chelsio.com \
--cc=zheyuma97@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).