From: patchwork-bot+netdevbpf@kernel.org
To: Matteo Croce <technoboy85@gmail.com>
Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, teknoraver@meta.com
Subject: Re: [PATCH bpf-next] libbpf: fix warning
Date: Fri, 18 Jul 2025 15:40:06 +0000 [thread overview]
Message-ID: <175285320626.2706765.18311882177801047852.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250717200337.49168-1-technoboy85@gmail.com>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Thu, 17 Jul 2025 22:03:37 +0200 you wrote:
> From: Matteo Croce <teknoraver@meta.com>
>
> When compiling libbpf with some compilers, this warning is triggered:
>
> libbpf.c: In function ‘bpf_object__gen_loader’:
> libbpf.c:9209:28: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
> 9209 | gen = calloc(sizeof(*gen), 1);
> | ^
> libbpf.c:9209:28: note: earlier argument should specify number of elements, later size of each element
>
> [...]
Here is the summary with links:
- [bpf-next] libbpf: fix warning
https://git.kernel.org/bpf/bpf-next/c/0ee30d937c14
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:[~2025-07-18 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 20:03 Matteo Croce
2025-07-18 4:06 ` Yonghong Song
2025-07-18 15:40 ` 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=175285320626.2706765.18311882177801047852.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=technoboy85@gmail.com \
--cc=teknoraver@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
all inboxes | Powered by JetHome®