* [geert-m68k:master 1/2] drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16
@ 2023-07-30 3:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-30 3:00 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: oe-kbuild-all, linux-m68k, Guenter Roeck, Michael Schmitz
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git master
head: cd76bba726300611d2add29cb025db2b42d70b41
commit: 84fdf8f72e6db3433914e7de7c8e64d95dacaaef [1/2] m68k: atari: Make Atari ROM port I/O write macros return void
config: m68k-randconfig-r093-20230730 (https://download.01.org/0day-ci/archive/20230730/202307301003.8cQ3Oey6-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230730/202307301003.8cQ3Oey6-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/202307301003.8cQ3Oey6-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
4808a1c0261176 Olav Kongas 2005-04-09 414
4808a1c0261176 Olav Kongas 2005-04-09 415 static inline u16 isp116x_raw_read_data16(struct isp116x *isp116x)
4808a1c0261176 Olav Kongas 2005-04-09 416 {
4808a1c0261176 Olav Kongas 2005-04-09 417 u16 val;
4808a1c0261176 Olav Kongas 2005-04-09 418
2f0f9fcd96fa8d Michael Schmitz 2013-04-06 @419 val = isp_raw_readw(isp116x->data_reg);
4808a1c0261176 Olav Kongas 2005-04-09 420 isp116x_delay(isp116x, 150);
4808a1c0261176 Olav Kongas 2005-04-09 421 return val;
4808a1c0261176 Olav Kongas 2005-04-09 422 }
4808a1c0261176 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-30 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-30 3:00 [geert-m68k:master 1/2] drivers/usb/host/isp116x.h:419:15: sparse: sparse: cast to restricted __le16 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox