[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48360912-b239-51f2-8f25-07a46516dc76@nerdbynature.de>
Date: Mon, 17 Jun 2024 16:28:55 +0200 (CEST)
From: Christian Kujau <lists@...dbynature.de>
To: Péter Ujfalusi <peter.ujfalusi@...el.com>
cc: patchwork-bot+netdevbpf@...nel.org,
Mohammad Shehar Yaar Tausif <sheharyaar48@...il.com>, martin.lau@...ux.dev,
ast@...nel.org, daniel@...earbox.net, andrii@...nel.org, eddyz87@...il.com,
song@...nel.org, yonghong.song@...ux.dev, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com, jolsa@...nel.org,
bpf@...r.kernel.org, linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] bpf: fix order of args in call to bpf_map_kvcalloc
On Wed, 12 Jun 2024, Péter Ujfalusi wrote:
> kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_map_alloc’:
> kernel/bpf/bpf_local_storage.c:785:60: error: ‘kvmalloc_array_node_noprof’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
> 785 | smap->buckets = bpf_map_kvcalloc(&smap->map, sizeof(*smap->buckets),
This happens here as well. Configuration attached.
Thanks,
Christian.
--
BOFH excuse #149:
Dew on the telephone lines.
View attachment "config.txt" of type "text/plain" (28360 bytes)
Powered by blists - more mailing lists