From: patchwork-bot+netdevbpf@kernel.org
To: Guenter Roeck <linux@roeck-us.net>
Cc: sgoutham@marvell.com, davem@davemloft.net, kuba@kernel.org,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: thunderx: Drop unnecessary NULL check after container_of
Date: Fri, 14 May 2021 22:10:10 +0000 [thread overview]
Message-ID: <162103021084.1424.4996581481002361141.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210513230418.919219-1-linux@roeck-us.net>
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 13 May 2021 16:04:18 -0700 you wrote:
> The result of container_of() operations is never NULL unless the embedded
> element is the first element of the structure. This is not the case here.
> The NULL check is therefore unnecessary and misleading. Remove it.
>
> This change was made automatically with the following Coccinelle script.
>
> @@
> type t;
> identifier v;
> statement s;
> @@
>
> [...]
Here is the summary with links:
- net: thunderx: Drop unnecessary NULL check after container_of
https://git.kernel.org/netdev/net-next/c/fc25f9f631ac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2021-05-14 22:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-13 23:04 [PATCH] net: thunderx: Drop unnecessary NULL check after container_of Guenter Roeck
2021-05-14 22:10 ` 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=162103021084.1424.4996581481002361141.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=netdev@vger.kernel.org \
--cc=sgoutham@marvell.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).