From: patchwork-bot+netdevbpf@kernel.org
To: Andrii Nakryiko <andrii@kernel.org>
Cc: bpf@vger.kernel.org, kernel-team@meta.com
Subject: Re: [PATCH bpf-next] libbpf: fix -Wformat warnings from format/argument type mismatches
Date: Fri, 26 Jun 2026 13:30:27 +0000 [thread overview]
Message-ID: <178248062788.457674.6865742035078097472.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260624204946.2901178-1-andrii@kernel.org>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Wed, 24 Jun 2026 13:49:46 -0700 you wrote:
> Building libbpf with -Wall (as happens via bpftool's bootstrap build)
> surfaces ~120 -Wformat warnings where pr_warn/pr_debug format specifiers
> don't match their argument types: %d for __u32/Elf64_Word, %u for signed
> ints, %zd for size_t, %ld for unsigned long, and %x/%lx/%llx applied to
> signed values.
>
> Match each specifier to its argument's type where a correctly-signed
> specifier exists (%d<->%u, %ld->%lu, %zd->%zu). For hex conversions,
> which have no signed form, cast the argument instead (%x->(unsigned),
> %lx->(unsigned long), %llx->(unsigned long long)). No functional change.
>
> [...]
Here is the summary with links:
- [bpf-next] libbpf: fix -Wformat warnings from format/argument type mismatches
https://git.kernel.org/bpf/bpf-next/c/df3153758ddb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
next prev parent reply other threads:[~2026-06-26 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 20:49 [PATCH bpf-next] libbpf: fix -Wformat warnings from format/argument type mismatches Andrii Nakryiko
2026-06-26 2:01 ` bot+bpf-ci
2026-06-26 13:30 ` patchwork-bot+netdevbpf [this message]
2026-06-30 18:32 ` Andrii Nakryiko
2026-06-30 20:01 ` Quentin Monnet
2026-06-30 20:15 ` Andrii Nakryiko
2026-06-30 20:37 ` Quentin Monnet
2026-06-30 20:55 ` Andrii Nakryiko
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=178248062788.457674.6865742035078097472.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=kernel-team@meta.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