diff options
author | Michael Ellerman <[email protected]> | 2024-05-21 13:02:19 +1000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-05-24 11:55:06 -0700 |
commit | 1901472fa880e5706f90926cd85a268d2d16bf84 (patch) | |
tree | c1ed6fe2cd5548b7d448a38201041377c8c79014 /lib/test_fortify/write_overflow-strncpy.c | |
parent | b1480ed230acf4f7f069a7f5e3ddda62bbf4ba97 (diff) |
selftests/mm: fix build warnings on ppc64
Fix warnings like:
In file included from uffd-unit-tests.c:8:
uffd-unit-tests.c: In function `uffd_poison_handle_fault':
uffd-common.h:45:33: warning: format `%llu' expects argument of type
`long long unsigned int', but argument 3 has type `__u64' {aka `long
unsigned int'} [-Wformat=]
By switching to unsigned long long for u64 for ppc64 builds.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Michael Ellerman <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions