include/arm64/processor.h:194:9: warning: "dma_wmb" redefined
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence bisect report" :::::: BCC: [email protected] CC: [email protected] TO: Jason Gunthorpe <[email protected]> CC: 0day robot <[email protected]> CC: David Matlack <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/Jason-Gunthorpe/net-mlx5-Add-IFC-structures-for-CQE-and-WQE/20260717-052940 head: 7fabb466403102b484426d268d4c8f880947b202 commit: e94763f311902b31b644d9934178452e76132cce selftests: Add additional kernel functions to tools/include/ date: 6 hours ago :::::: branch date: 6 hours ago :::::: commit date: 6 hours ago config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260717/[email protected]/config) compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260717/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All warnings (new ones prefixed by >>): In file included from dirty_log_test.c:22: >> include/arm64/processor.h:194:9: warning: "dma_wmb" redefined 194 | #define dma_wmb() dmb(oshst) | ^~~~~~~ In file included from tools/testing/selftests/../../../tools/include/asm/barrier.h:8, from dirty_log_test.c:17: tools/testing/selftests/../../../tools/include/asm/../../arch/arm64/include/asm/barrier.h:29:9: note: this is the location of the previous definition 29 | #define dma_wmb() asm volatile("dmb oshst" ::: "memory") | ^~~~~~~ >> include/arm64/processor.h:197:9: warning: "dma_rmb" redefined 197 | #define dma_rmb() dmb(oshld) | ^~~~~~~ tools/testing/selftests/../../../tools/include/asm/../../arch/arm64/include/asm/barrier.h:28:9: note: this is the location of the previous definition 28 | #define dma_rmb() asm volatile("dmb oshld" ::: "memory") | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-gnu-variable-sized-type-not-at-end' may have been intended to silence earlier diagnostics -- In file included from tools/testing/selftests/../../../tools/include/asm/barrier.h:8, from include/arm64/gic_v5.h:6, from arm64/no-vgic.c:12: >> tools/testing/selftests/../../../tools/include/asm/../../arch/arm64/include/asm/barrier.h:28:9: warning: "dma_rmb" redefined 28 | #define dma_rmb() asm volatile("dmb oshld" ::: "memory") | ^~~~~~~ In file included from arm64/no-vgic.c:10: include/arm64/processor.h:197:9: note: this is the location of the previous definition 197 | #define dma_rmb() dmb(oshld) | ^~~~~~~ >> tools/testing/selftests/../../../tools/include/asm/../../arch/arm64/include/asm/barrier.h:29:9: warning: "dma_wmb" redefined 29 | #define dma_wmb() asm volatile("dmb oshst" ::: "memory") | ^~~~~~~ include/arm64/processor.h:194:9: note: this is the location of the previous definition 194 | #define dma_wmb() dmb(oshst) | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-gnu-variable-sized-type-not-at-end' may have been intended to silence earlier diagnostics -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki