All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Ben Dooks <ben.dooks@sifive.com>
Cc: linux-kernel@vger.kernel.org, bpf@vger.kernel.org,
	sudip.mukherjee@sifive.com, jude.onyenegecha@sifive.com
Subject: Re: [PATCH] bpf: fix check against plain integer v 'NULL'
Date: Fri, 15 Jul 2022 17:00:13 +0000	[thread overview]
Message-ID: <165790441390.797.4433680438081515423.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220714100322.260467-1-ben.dooks@sifive.com>

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Thu, 14 Jul 2022 11:03:22 +0100 you wrote:
> When checking with sparse, btf_show_type_value() is causing a
> warning about checking integer vs NULL when the macro is passed
> a pointer, due to the 'value != 0' check. Stop sparse complaining
> about any type-casting by adding a cast to the typeof(value).
> 
> This fixes the following sparse warnings:
> 
> [...]

Here is the summary with links:
  - bpf: fix check against plain integer v 'NULL'
    https://git.kernel.org/bpf/bpf-next/c/a2a5580fcbf8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2022-07-15 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 10:03 [PATCH] bpf: fix check against plain integer v 'NULL' Ben Dooks
2022-07-14 20:28 ` Yonghong Song
2022-07-15 17:00 ` 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=165790441390.797.4433680438081515423.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=ben.dooks@sifive.com \
    --cc=bpf@vger.kernel.org \
    --cc=jude.onyenegecha@sifive.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sudip.mukherjee@sifive.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.