All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: kernel test robot <lkp@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>,
	oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Badal Nilawar <badal.nilawar@intel.com>
Subject: Re: drivers/misc/mei/mei_lb.c:284:32: sparse: sparse: restricted __le32 degrades to integer
Date: Sun, 10 May 2026 13:13:54 +0300	[thread overview]
Message-ID: <agBaYu8eN_wnRmL7@ashevche-desk.local> (raw)
In-Reply-To: <202605091533.79Zcv3CX-lkp@intel.com>

On Sat, May 09, 2026 at 03:59:00PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   70390501d1944d4e5b8f7352be180fceb3a44132
> commit: 773a43b8627f54dca56d08949497014b4ee8878a mei: lb: add late binding version 2
> date:   5 weeks ago
> config: mips-randconfig-r134-20260508 (https://download.01.org/0day-ci/archive/20260509/202605091533.79Zcv3CX-lkp@intel.com/config)
> compiler: mips-linux-gcc (GCC) 8.5.0
> sparse: v0.6.5-rc1
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260509/202605091533.79Zcv3CX-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
> | Fixes: 773a43b8627f ("mei: lb: add late binding version 2")
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202605091533.79Zcv3CX-lkp@intel.com/

> sparse warnings: (new ones prefixed by >>)
> >> drivers/misc/mei/mei_lb.c:284:32: sparse: sparse: restricted __le32 degrades to integer
> >> drivers/misc/mei/mei_lb.c:330:40: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le32 [usertype] command_id @@     got int @@
>    drivers/misc/mei/mei_lb.c:330:40: sparse:     expected restricted __le32 [usertype] command_id
>    drivers/misc/mei/mei_lb.c:330:40: sparse:     got int

Alexander, in case you are going to address this, address them all at once. You
can run sparse locally to get all this.

	make W=1 C=1 CF=-D__CHECK_ENDIAN__ ...

is my regular `make` command for building Linux kernel with `sparse` checks.

-- 
With Best Regards,
Andy Shevchenko



      reply	other threads:[~2026-05-10 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-09  7:59 drivers/misc/mei/mei_lb.c:284:32: sparse: sparse: restricted __le32 degrades to integer kernel test robot
2026-05-10 10:13 ` Andy Shevchenko [this message]

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=agBaYu8eN_wnRmL7@ashevche-desk.local \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=alexander.usyskin@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.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.