Re: [PATCH bpf v1] selftests/bpf: Fix undefined UINT_MAX in veristat.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Wed, 15 Jan 2025 23:50:36 -0800 you wrote:
> Include <limits.h> in 'veristat.c' to provide a UINT_MAX definition and
> avoid multiple compile errors against mips64el/musl-libc:
> 
> veristat.c: In function 'max_verifier_log_size':
> veristat.c:1135:36: error: 'UINT_MAX' undeclared (first use in this function)
>  1135 |         const int SMALL_LOG_SIZE = UINT_MAX >> 8;
>       |                                    ^~~~~~~~
> veristat.c:24:1: note: 'UINT_MAX' is defined in header '<limits.h>'; did you forget to '#include <limits.h>'?
>    23 | #include <math.h>
>   +++ |+#include <limits.h>
>    24 |
> 
> [...]

Here is the summary with links:
  - [bpf,v1] selftests/bpf: Fix undefined UINT_MAX in veristat.c
    https://git.kernel.org/bpf/bpf-next/c/a8d1c48d0720

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux