All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-08-08  5:56 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-08  5:56 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Masahiro Yamada

[-- Attachment #1: Type: text/plain, Size: 7860 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   049eb096da48db0421dd5e358b9b082a1a8a2025
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   9 months ago
config: mips-randconfig-s032-20200808 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *__s @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *__s
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/mips/include/asm/mmiowb.h, include/linux/spinlock.h, include/linux/seqlock.h, ...):
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32

vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29847 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-08-08  5:56 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-08  5:56 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 7975 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   049eb096da48db0421dd5e358b9b082a1a8a2025
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   9 months ago
config: mips-randconfig-s032-20200808 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *__s @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *__s
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/mips/include/asm/mmiowb.h, include/linux/spinlock.h, include/linux/seqlock.h, ...):
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32
   arch/mips/include/asm/io.h:451:1: sparse: sparse: cast to restricted __le32

vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f415 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29847 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-09-02 18:05 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-09-02 18:05 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Masahiro Yamada

[-- Attachment #1: Type: text/plain, Size: 12450 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9c7d619be5a002ea29c172df5e3c1227c22cbb41
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   10 months ago
config: s390-randconfig-s031-20200902 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *p
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/s390/include/asm/io.h, include/linux/fb.h):
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80591e61a0f7e88deaada69844e4a31280c4a38f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30432 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-09-02 18:05 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-09-02 18:05 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 12602 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9c7d619be5a002ea29c172df5e3c1227c22cbb41
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   10 months ago
config: s390-randconfig-s031-20200902 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *p
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/s390/include/asm/io.h, include/linux/fb.h):
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80591e61a0f7e88deaada69844e4a31280c4a38f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30432 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-08-07 11:04 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-07 11:04 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Masahiro Yamada

[-- Attachment #1: Type: text/plain, Size: 12515 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   86cfccb66937dd6cbf26ed619958b9e587e6a115
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   9 months ago
config: s390-randconfig-s031-20200807 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *p
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/s390/include/asm/io.h, include/linux/fb.h):
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
--
   drivers/video/fbdev/kyro/fbdev.c:725:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/kyro/fbdev.c:725:23: sparse:     expected void *p
   drivers/video/fbdev/kyro/fbdev.c:725:23: sparse:     got char [noderef] <asn:2> *screen_base

vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31452 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* drivers/video/fbdev/sstfb.c:337:23: sparse: expected void
@ 2020-08-07 11:04 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-07 11:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 12667 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   86cfccb66937dd6cbf26ed619958b9e587e6a115
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   9 months ago
config: s390-randconfig-s031-20200807 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/sstfb.c:337:23: sparse:     expected void *p
   drivers/video/fbdev/sstfb.c:337:23: sparse:     got char [noderef] <asn:2> *screen_base
   drivers/video/fbdev/sstfb.c: note: in included file (through arch/s390/include/asm/io.h, include/linux/fb.h):
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] val
--
   drivers/video/fbdev/kyro/fbdev.c:725:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *p @@     got char [noderef] <asn:2> *screen_base @@
>> drivers/video/fbdev/kyro/fbdev.c:725:23: sparse:     expected void *p
   drivers/video/fbdev/kyro/fbdev.c:725:23: sparse:     got char [noderef] <asn:2> *screen_base

vim +337 drivers/video/fbdev/sstfb.c

^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  330  
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  331  /*
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  332   * clear lfb screen
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  333   */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  334  static void sstfb_clear_screen(struct fb_info *info)
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  335  {
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  336  	/* clear screen */
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16 @337  	fb_memset(info->screen_base, 0, info->fix.smem_len);
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  338  }
^1da177e4c3f41 drivers/video/sstfb.c Linus Torvalds 2005-04-16  339  

:::::: The code at line 337 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31452 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-02 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08  5:56 drivers/video/fbdev/sstfb.c:337:23: sparse: expected void kernel test robot
2020-08-08  5:56 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-02 18:05 kernel test robot
2020-09-02 18:05 ` kernel test robot
2020-08-07 11:04 kernel test robot
2020-08-07 11:04 ` kernel test robot

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.