diff options
author | 2023-11-22 09:33:23 -0800 | |
---|---|---|
committer | 2023-11-24 14:57:03 +0000 | |
commit | 8e3707975e04e432f132955652fc77e9ff82f31d (patch) | |
tree | 854fab4cf87f7eccf10ca467a2590c65222ebe0e /mm/page_alloc.c | |
parent | Merge branch 'net-ipa-v5.5' (diff) | |
download | wireguard-linux-8e3707975e04e432f132955652fc77e9ff82f31d.tar.xz wireguard-linux-8e3707975e04e432f132955652fc77e9ff82f31d.zip |
tools: ynl-gen: always append ULL/LL to range types
32bit builds generate the following warning when we use a u32-max
in range validation:
warning: decimal constant 4294967295 is between LONG_MAX and ULONG_MAX. For C99 that means long long, C90 compilers are very likely to produce unsigned long (and a warning) here
The range values are u64, slap ULL/LL on all of them just
to avoid such noise.
There's currently no code using full range validation, but
it will matter in the upcoming page-pool introspection.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions