All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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):
Date: Sun, 13 Sep 2026 13:27:37 +0800	[thread overview]
Message-ID: <202609131322.cbdmZwBY-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-13  5:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609131322.cbdmZwBY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.