All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-5.15 1/1] drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:727:31: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2026-09-13  5:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-13  5:27 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android14-5.15
head:   f598b4e36c5884e38780f70315660738694c035d
commit: 0f2d1bcdd01c2b009d6ce688739a3de50bf5e19b [1/1] net/mlx5e: Properly access RCU protected qdisc_sleeping variable
config: arm-randconfig-r121-20260910 (https://download.01.org/0day-ci/archive/20260913/202609131322.cbdmZwBY-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260913/202609131322.cbdmZwBY-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/202609131322.cbdmZwBY-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:727:31: sparse: sparse: incompatible types in comparison expression (different address spaces):
   drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:727:31: sparse:    struct Qdisc [noderef] __rcu *
   drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:727:31: sparse:    struct Qdisc *

vim +727 drivers/net/ethernet/mellanox/mlx5/core/en/qos.c

   723	
   724	static void mlx5e_reset_qdisc(struct net_device *dev, u16 qid)
   725	{
   726		struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, qid);
 > 727		struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc_sleeping);
   728	
   729		if (!qdisc)
   730			return;
   731	
   732		spin_lock_bh(qdisc_lock(qdisc));
   733		qdisc_reset(qdisc);
   734		spin_unlock_bh(qdisc_lock(qdisc));
   735	}
   736	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-13  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13  5:27 [android-common:android14-5.15 1/1] drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:727:31: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.