aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-03-28 15:30:44 +0100
committerChristian Brauner <[email protected]>2024-04-09 10:52:12 +0200
commitc473bcdd80d4ab2ae79a7a509a6712818366e32a (patch)
treeb0a6ee07133f4161dfa66298fb3d5fd3b5911aef /tools/perf/scripts/python/export-to-postgresql.py
parent0a4f544d83990e4b7326020a802d64956fa366de (diff)
nilfs2: fix out-of-range warning
clang-14 points out that v_size is always smaller than a 64KB page size if that is configured by the CPU architecture: fs/nilfs2/ioctl.c:63:19: error: result of comparison of constant 65536 with expression of type '__u16' (aka 'unsigned short') is always false [-Werror,-Wtautological-constant-out-of-range-compare] if (argv->v_size > PAGE_SIZE) ~~~~~~~~~~~~ ^ ~~~~~~~~~ This is ok, so just shut up that warning with a cast. Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 3358b4aaa84f ("nilfs2: fix problems of memory allocation in ioctl") Acked-by: Ryusuke Konishi <[email protected]> Reviewed-by: Justin Stitt <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions