archive mirror
 help / color / mirror / Atom feed
To: Guenter Roeck <>
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: <> (raw)
In-Reply-To: <>


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

You are awesome, thank you!
Deet-doot-dot, I am a bot.

linux-arm-kernel mailing list

      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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* 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).