tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4176cf5c5651c33769de83bb61b0287f4ec7719f commit: 47f8fcd254f1a994c8ed16dcb7b6bf905c0af434 [2557/3192] selftests/mm: fix -Warray-bounds warnings in pkey_sighandler_tests compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140850.4TW4YBqc-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202412140850.4TW4YBqc-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): pkey_sighandler_tests.c:46:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier] 46 | static inline __always_inline | ^ /usr/include/sys/cdefs.h:426:26: note: expanded from macro '__always_inline' 426 | # define __always_inline __inline __attribute__ ((__always_inline__)) | ^ >> pkey_sighandler_tests.c:166:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 166 | *(int *)NULL = 1; | ^~~~~~~~~~~~ pkey_sighandler_tests.c:166:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' pkey_sighandler_tests.c:197:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 197 | *(int *)NULL = 1; | ^~~~~~~~~~~~ pkey_sighandler_tests.c:197:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' 3 warnings generated. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki