Re: [PATCH v2] RDMA/core: quiesce CQ polling before device shutdown on reboot
kernel test robot <[email protected]> Wed, 5 Aug 2026 07:21:37 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-rdma,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
Hi Chenguang, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v7.2-rc6 next-20260804] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Chenguang-Zhao/RDMA-core-quiesce-CQ-polling-before-device-shutdown-on-reboot/20260805-044210 base: linus/master patch link: https://lore.kernel.org/r/20260714075558.1420384-1-chenguang.zhao%40linux.dev patch subject: [PATCH v2] RDMA/core: quiesce CQ polling before device shutdown on reboot config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260805/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/[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/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): In file included from include/linux/kernel.h:23, from drivers/infiniband/hw/mlx5/mlx5_ib.h:10, from drivers/infiniband/hw/mlx5/ah.c:33: include/linux/mlx5/driver.h: In function 'mlx5_core_is_shutting_down': >> include/linux/mlx5/driver.h:661:65: error: invalid use of undefined type 'struct mlx5_core_dev' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~ include/linux/bitops.h:44:44: note: in definition of macro 'bitop' 44 | __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \ | ^~~~ include/linux/mlx5/driver.h:661:16: note: in expansion of macro 'test_bit' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~~~~~~~ >> include/linux/mlx5/driver.h:661:65: error: invalid use of undefined type 'struct mlx5_core_dev' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~ include/linux/bitops.h:45:23: note: in definition of macro 'bitop' 45 | (uintptr_t)(addr) != (uintptr_t)NULL && \ | ^~~~ include/linux/mlx5/driver.h:661:16: note: in expansion of macro 'test_bit' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~~~~~~~ >> include/linux/mlx5/driver.h:661:65: error: invalid use of undefined type 'struct mlx5_core_dev' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~ include/linux/bitops.h:46:57: note: in definition of macro 'bitop' 46 | __builtin_constant_p(*(const unsigned long *)(addr))) ? \ | ^~~~ include/linux/mlx5/driver.h:661:16: note: in expansion of macro 'test_bit' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~~~~~~~ >> include/linux/mlx5/driver.h:661:65: error: invalid use of undefined type 'struct mlx5_core_dev' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~ include/linux/bitops.h:47:24: note: in definition of macro 'bitop' 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ include/linux/mlx5/driver.h:661:16: note: in expansion of macro 'test_bit' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~~~~~~~ >> include/linux/mlx5/driver.h:661:65: error: invalid use of undefined type 'struct mlx5_core_dev' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~ include/linux/bitops.h:47:39: note: in definition of macro 'bitop' 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ include/linux/mlx5/driver.h:661:16: note: in expansion of macro 'test_bit' 661 | return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); | ^~~~~~~~ vim +661 include/linux/mlx5/driver.h 658 659 static inline bool mlx5_core_is_shutting_down(struct mlx5_core_dev *dev) 660 { > 661 return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state); 662 } 663 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki