[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166802641561.13002.14650540365573417178.git-patchwork-notify@kernel.org>
Date: Wed, 09 Nov 2022 20:40:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pu Lehui <pulehui@...weicloud.com>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, martin.lau@...ux.dev,
song@...nel.org, yhs@...com, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com,
jolsa@...nel.org, eddyz87@...il.com, pulehui@...wei.com
Subject: Re: [PATCH bpf] selftests/bpf: Fix casting error when cross-compiling
test_verifier for 32-bit platforms
Hello:
This patch was applied to bpf/bpf.git (master)
by Martin KaFai Lau <martin.lau@...nel.org>:
On Tue, 8 Nov 2022 20:19:45 +0800 you wrote:
> From: Pu Lehui <pulehui@...wei.com>
>
> When cross-compiling test_verifier for 32-bit platforms, the casting error is shown below:
>
> test_verifier.c:1263:27: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> 1263 | info.xlated_prog_insns = (__u64)*buf;
> | ^
> cc1: all warnings being treated as errors
>
> [...]
Here is the summary with links:
- [bpf] selftests/bpf: Fix casting error when cross-compiling test_verifier for 32-bit platforms
https://git.kernel.org/bpf/bpf/c/0811664da064
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