[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175285320626.2706765.18311882177801047852.git-patchwork-notify@kernel.org>
Date: Fri, 18 Jul 2025 15:40:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Matteo Croce <technoboy85@...il.com>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org, teknoraver@...a.com
Subject: Re: [PATCH bpf-next] libbpf: fix warning
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Thu, 17 Jul 2025 22:03:37 +0200 you wrote:
> From: Matteo Croce <teknoraver@...a.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
Powered by blists - more mailing lists