linux-imx/tools/testing/selftests/openat2
Michael Ellerman b182dede1a selftests/openat2: Fix build warnings on ppc64
[ Upstream commit 84b6df4c49 ]

Fix warnings like:

  openat2_test.c: In function ‘test_openat2_flags’:
  openat2_test.c:303:73: warning: format ‘%llX’ expects argument of type
  ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long
  unsigned int’} [-Wformat=]

By switching to unsigned long long for u64 for ppc64 builds.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:50:42 +02:00
..
.gitignore
helpers.c
helpers.h selftests: openat2: Add missing dependency in Makefile 2022-01-27 16:30:55 -07:00
Makefile selftests: link libasan statically for tests with -fsanitize=address 2023-09-19 13:21:32 -07:00
openat2_test.c selftests/openat2: Fix build warnings on ppc64 2024-07-25 09:50:42 +02:00
rename_attack_test.c
resolve_test.c