Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chenguang Zhao <chenguang.zhao@linux.dev>,
	leon@kernel.org, jgg@ziepe.ca, saeedm@nvidia.com,
	tariqt@nvidia.com, mbloch@nvidia.com, davem@davemloft.net,
	edumazet@google.com, kuba@kernel.org, pabeni@redhat.com
Cc: oe-kbuild-all@lists.linux.dev, linux-rdma@vger.kernel.org,
	netdev@vger.kernel.org, chenguang.zhao@linux.dev,
	Chenguang Zhao <zhaochenguang@kylinos.cn>
Subject: Re: [PATCH v2] RDMA/core: quiesce CQ polling before device shutdown on reboot
Date: Wed, 5 Aug 2026 12:49:49 +0800	[thread overview]
Message-ID: <202608051230.me79zRZh-lkp@intel.com> (raw)
In-Reply-To: <20260714075558.1420384-1-chenguang.zhao@linux.dev>

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: s390-randconfig-002-20260805 (https://download.01.org/0day-ci/archive/20260805/202608051230.me79zRZh-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/202608051230.me79zRZh-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608051230.me79zRZh-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/kernel.h:23,
                    from drivers/net/ethernet/mellanox/mlx5/core/cq.c:33:
   include/linux/mlx5/driver.h: In function 'mlx5_core_is_shutting_down':
>> include/linux/mlx5/driver.h:661:58: error: dereferencing pointer to incomplete type 'struct mlx5_core_dev'
     661 |  return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state);
         |                                                          ^~
   include/linux/bitops.h:44:37: note: in definition of macro 'bitop'
      44 |    __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \
         |                                     ^~~~
   include/linux/mlx5/driver.h:661:9: note: in expansion of macro 'test_bit'
     661 |  return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state);
         |         ^~~~~~~~
--
   In file included from include/linux/kernel.h:23,
                    from drivers/net/ethernet/mellanox/mlx5/core/health.c:33:
   include/linux/mlx5/driver.h: In function 'mlx5_core_is_shutting_down':
>> include/linux/mlx5/driver.h:661:58: error: dereferencing pointer to incomplete type 'struct mlx5_core_dev'
     661 |  return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state);
         |                                                          ^~
   include/linux/bitops.h:44:37: note: in definition of macro 'bitop'
      44 |    __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \
         |                                     ^~~~
   include/linux/mlx5/driver.h:661:9: note: in expansion of macro 'test_bit'
     661 |  return test_bit(MLX5_INTERFACE_STATE_SHUTTING_DOWN, &dev->intf_state);
         |         ^~~~~~~~
   In file included from drivers/net/ethernet/mellanox/mlx5/core/health.c:37:
   include/linux/mlx5/driver.h:662:1: warning: control reaches end of non-void function [-Wreturn-type]
     662 | }
         | ^


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

  parent reply	other threads:[~2026-08-05  4:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-02  7:34 [PATCH] RDMA/core: quiesce CQ polling before device shutdown on reboot Chenguang Zhao
2026-07-02 17:40 ` Jason Gunthorpe
2026-07-14  7:55 ` [PATCH v2] " Chenguang Zhao
2026-07-14  8:46   ` Leon Romanovsky
2026-08-04 23:21   ` kernel test robot
2026-08-05  4:49   ` kernel test robot [this message]
2026-08-05  5:00   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608051230.me79zRZh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chenguang.zhao@linux.dev \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jgg@ziepe.ca \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mbloch@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=saeedm@nvidia.com \
    --cc=tariqt@nvidia.com \
    --cc=zhaochenguang@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox