Re: [PATCH bpf] selftests/bpf: add missing header include for htons

From: patchwork-bot+netdevbpf
Date: Tue Oct 08 2024 - 14:00:32 EST


Hello:

This patch was applied to bpf/bpf-next.git (net)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:

On Tue, 08 Oct 2024 16:50:57 +0200 you wrote:
> Including the network_helpers.h header in tests can lead to the following
> build error:
>
> ./network_helpers.h: In function ‘csum_tcpudp_magic’:
> ./network_helpers.h:116:14: error: implicit declaration of function \
> ‘htons’ [-Werror=implicit-function-declaration]
> 116 | s += htons(proto + len);
>
> [...]

Here is the summary with links:
- [bpf] selftests/bpf: add missing header include for htons
https://git.kernel.org/bpf/bpf-next/c/bc9b3fb827fc

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html