public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: oe-kbuild-all@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
	Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [geert-m68k:master 1282/1440] drivers/usb/host/isp116x.h:411:15: sparse: sparse: cast removes address space '__iomem' of expression
Date: Sun, 30 Jul 2023 08:26:47 +0800	[thread overview]
Message-ID: <202307300829.lIyWQvDG-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git master
head:   cd76bba726300611d2add29cb025db2b42d70b41
commit: b971c823ecb945e93fbe49e98884e4ef9ee5e859 [1282/1440] Merge tag 'v5.8-rc2'
config: m68k-randconfig-r093-20230730 (https://download.01.org/0day-ci/archive/20230730/202307300829.lIyWQvDG-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230730/202307300829.lIyWQvDG-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/202307300829.lIyWQvDG-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:411:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/usb/host/isp116x.h:411:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void
   drivers/usb/host/isp116x.h:427:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:427:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:427:9: sparse:    void
   drivers/usb/host/isp116x.h:429:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:429:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:429:9: sparse:    void
   drivers/usb/host/isp116x.h:403:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:403:9: sparse:    int
   drivers/usb/host/isp116x.h:403:9: sparse:    void
   drivers/usb/host/isp116x.h:403:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:403:9: sparse:    int
   drivers/usb/host/isp116x.h:403:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:403:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:403:9: sparse:    int
   drivers/usb/host/isp116x.h:403:9: sparse:    void
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:397:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:397:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:397:9: sparse:    void
   drivers/usb/host/isp116x.h:391:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/usb/host/isp116x.h:391:9: sparse:    unsigned short
   drivers/usb/host/isp116x.h:391:9: sparse:    void

vim +/__iomem +411 drivers/usb/host/isp116x.h

4808a1c0261176 Olav Kongas     2005-04-09  406  
4808a1c0261176 Olav Kongas     2005-04-09  407  static inline u16 isp116x_read_data16(struct isp116x *isp116x)
4808a1c0261176 Olav Kongas     2005-04-09  408  {
4808a1c0261176 Olav Kongas     2005-04-09  409  	u16 val;
4808a1c0261176 Olav Kongas     2005-04-09  410  
2f0f9fcd96fa8d Michael Schmitz 2013-04-06 @411  	val = isp_readw(isp116x->data_reg);
4808a1c0261176 Olav Kongas     2005-04-09  412  	isp116x_delay(isp116x, 150);
4808a1c0261176 Olav Kongas     2005-04-09  413  	return val;
4808a1c0261176 Olav Kongas     2005-04-09  414  }
4808a1c0261176 Olav Kongas     2005-04-09  415  

:::::: The code at line 411 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

                 reply	other threads:[~2023-07-30  0:27 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=202307300829.lIyWQvDG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox