From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
Guenter Roeck <linux@roeck-us.net>,
Michael Schmitz <schmitzmic@gmail.com>
Subject: [geert-m68k:master 1/2] drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
Date: Fri, 29 May 2026 03:37:32 +0800 [thread overview]
Message-ID: <202605290352.rNIsypVC-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git master
head: 26b3f6c06bb2e4c5e933736324b70b732c06ba64
commit: 84fdf8f72e6db3433914e7de7c8e64d95dacaaef [1/2] m68k: atari: Make Atari ROM port I/O write macros return void
config: m68k-randconfig-r132-20260528 (https://download.01.org/0day-ci/archive/20260529/202605290352.rNIsypVC-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260529/202605290352.rNIsypVC-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/202605290352.rNIsypVC-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/usb/host/isp116x-hcd.c:137:55: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned short [usertype] val @@ got restricted __le16 [usertype] @@
drivers/usb/host/isp116x-hcd.c:137:55: sparse: expected unsigned short [usertype] val
drivers/usb/host/isp116x-hcd.c:137:55: sparse: got restricted __le16 [usertype]
drivers/usb/host/isp116x-hcd.c:184:34: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x-hcd.c:184:34: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x-hcd.c:184:34: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x-hcd.c:184:34: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x-hcd.c: note: in included file:
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:436:21: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:436:21: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:438:23: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:438:23: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:426:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:426:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:428:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:428:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:402:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:396:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:390:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/usb/host/isp116x.h:410:15: sparse: sparse: cast removes address space '__iomem' of expression
vim +419 drivers/usb/host/isp116x.h
4808a1c0261176f Olav Kongas 2005-04-09 393
4808a1c0261176f Olav Kongas 2005-04-09 394 static inline void isp116x_write_data16(struct isp116x *isp116x, u16 val)
4808a1c0261176f Olav Kongas 2005-04-09 395 {
2f0f9fcd96fa8db Michael Schmitz 2013-04-06 @396 isp_writew(val, isp116x->data_reg);
4808a1c0261176f Olav Kongas 2005-04-09 397 isp116x_delay(isp116x, 150);
4808a1c0261176f Olav Kongas 2005-04-09 398 }
4808a1c0261176f Olav Kongas 2005-04-09 399
4808a1c0261176f Olav Kongas 2005-04-09 400 static inline void isp116x_raw_write_data16(struct isp116x *isp116x, u16 val)
4808a1c0261176f Olav Kongas 2005-04-09 401 {
2f0f9fcd96fa8db Michael Schmitz 2013-04-06 402 isp_raw_writew(val, isp116x->data_reg);
4808a1c0261176f Olav Kongas 2005-04-09 403 isp116x_delay(isp116x, 150);
4808a1c0261176f Olav Kongas 2005-04-09 404 }
4808a1c0261176f Olav Kongas 2005-04-09 405
4808a1c0261176f Olav Kongas 2005-04-09 406 static inline u16 isp116x_read_data16(struct isp116x *isp116x)
4808a1c0261176f Olav Kongas 2005-04-09 407 {
4808a1c0261176f Olav Kongas 2005-04-09 408 u16 val;
4808a1c0261176f Olav Kongas 2005-04-09 409
2f0f9fcd96fa8db Michael Schmitz 2013-04-06 410 val = isp_readw(isp116x->data_reg);
4808a1c0261176f Olav Kongas 2005-04-09 411 isp116x_delay(isp116x, 150);
4808a1c0261176f Olav Kongas 2005-04-09 412 return val;
4808a1c0261176f Olav Kongas 2005-04-09 413 }
4808a1c0261176f Olav Kongas 2005-04-09 414
4808a1c0261176f Olav Kongas 2005-04-09 415 static inline u16 isp116x_raw_read_data16(struct isp116x *isp116x)
4808a1c0261176f Olav Kongas 2005-04-09 416 {
4808a1c0261176f Olav Kongas 2005-04-09 417 u16 val;
4808a1c0261176f Olav Kongas 2005-04-09 418
2f0f9fcd96fa8db Michael Schmitz 2013-04-06 @419 val = isp_raw_readw(isp116x->data_reg);
4808a1c0261176f Olav Kongas 2005-04-09 420 isp116x_delay(isp116x, 150);
4808a1c0261176f Olav Kongas 2005-04-09 421 return val;
4808a1c0261176f Olav Kongas 2005-04-09 422 }
4808a1c0261176f Olav Kongas 2005-04-09 423
:::::: The code at line 419 was first introduced by commit
:::::: 2f0f9fcd96fa8dbeec54cce98170985f7b384a41 m68k/atari: USB - add ISP1160 USB host controller support
:::::: TO: Michael Schmitz <schmitzmic@gmail.com>
:::::: CC: Geert Uytterhoeven <geert@linux-m68k.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-05-28 19:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 19:37 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-20 0:51 [geert-m68k:master 1/2] drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16 kernel test robot
2023-07-30 3: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=202605290352.rNIsypVC-lkp@intel.com \
--to=lkp@intel.com \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux@roeck-us.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=schmitzmic@gmail.com \
/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.