Messages in this thread | | | Subject | Re: [PATCH bpf] selftests/bpf: Fix broken build where char is unsigned | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 02 Nov 2023 15:00:24 +0000 |
| |
Hello:
This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov <ast@kernel.org>:
On Thu, 2 Nov 2023 11:35:37 +0100 you wrote: > From: Björn Töpel <bjorn@rivosinc.com> > > There are architectures where char is not signed. If so, the following > error is triggered: > > | xdp_hw_metadata.c:435:42: error: result of comparison of constant -1 \ > | with expression of type 'char' is always true \ > | [-Werror,-Wtautological-constant-out-of-range-compare] > | 435 | while ((opt = getopt(argc, argv, "mh")) != -1) { > | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ > | 1 error generated. > > [...]
Here is the summary with links: - [bpf] selftests/bpf: Fix broken build where char is unsigned https://git.kernel.org/bpf/bpf/c/d84b139f53e8
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |