Hay
Date
March 5, 2025, 6:38 p.m.

Environment
arm

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In file included from hmm-tests.c:13:
hugetlb-read-hwpoison.c: In function 'seek_read_hugepage_filemap':
hugetlb-read-hwpoison.c:16:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=]
   16 | #define PREFIX " ... "
      |                ^~~~~~~
hugetlb-read-hwpoison.c:78:16: note: in expansion of macro 'PREFIX'
   78 |         printf(PREFIX PREFIX "init val=%u with offset=0x%lx\n", val, offset);
      |                ^~~~~~
hugetlb-read-hwpoison.c:78:59: note: format string is defined here
   78 |         printf(PREFIX PREFIX "init val=%u with offset=0x%lx\n", val, offset);
      |                                                         ~~^
      |                                                           |
      |                                                           long unsigned int
      |                                                         %llx

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In file included from hmm-tests.c:13:
hugetlb-read-hwpoison.c: In function 'seek_read_hugepage_filemap':
hugetlb-read-hwpoison.c:16:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=]
   16 | #define PREFIX " ... "
      |                ^~~~~~~
hugetlb-read-hwpoison.c:78:16: note: in expansion of macro 'PREFIX'
   78 |         printf(PREFIX PREFIX "init val=%u with offset=0x%lx\n", val, offset);
      |                ^~~~~~
hugetlb-read-hwpoison.c:78:59: note: format string is defined here
   78 |         printf(PREFIX PREFIX "init val=%u with offset=0x%lx\n", val, offset);
      |                                                         ~~^
      |                                                           |
      |                                                           long unsigned int
      |                                                         %llx