mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/video/fbdev/arcfb.c:119:9: sparse: got void COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt
@ 2020-08-12  3:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-12  3:36 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: kbuild-all, linux-kernel

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

Hi Bartlomiej,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fb893de323e2d39f7a1f6df425703a2edbdf56ea
commit: 3d3287e609877aa549b1cbb41eafaf73c3742a0b video: fbdev: arcfb: add COMPILE_TEST support
date:   5 months ago
config: riscv-randconfig-s031-20200812 (attached as .config)
compiler: riscv64-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-168-g9554805c-dirty
        git checkout 3d3287e609877aa549b1cbb41eafaf73c3742a0b
        # 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=riscv 

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/arcfb.c:119:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:119:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:119:9: sparse:     expected void volatile [noderef] <asn:2> *addr
>> drivers/video/fbdev/arcfb.c:119:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:120:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:120:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:120:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:120:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:122:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:122:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:122:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:122:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:128:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:128:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:128:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:128:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:134:16: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:134:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:134:16: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:134:16: sparse:     got void *
   drivers/video/fbdev/arcfb.c:142:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:142:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:142:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:142:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:143:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:143:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:143:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:143:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:145:9: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/arcfb.c:145:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:145:9: sparse:     expected void volatile [noderef] <asn:2> *addr
   drivers/video/fbdev/arcfb.c:145:9: sparse:     got void *

vim +119 drivers/video/fbdev/arcfb.c

1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  113  
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  114  static void ks108_writeb_ctl(struct arcfb_par *par,
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  115  				unsigned int chipindex, unsigned char value)
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  116  {
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  117  	unsigned char chipselval = par->cslut[chipindex];
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  118  
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21 @119  	outb(chipselval|KS_CEHI|KS_SEL_CMD, par->cio_addr);
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  120  	outb(value, par->dio_addr);
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  121  	udelay(tuhold);
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  122  	outb(chipselval|KS_CELO|KS_SEL_CMD, par->cio_addr);
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  123  }
1154ea7dcd8eed drivers/video/arcfb.c Jaya Kumar 2005-06-21  124  

:::::: The code at line 119 was first introduced by commit
:::::: 1154ea7dcd8eed758fb5ec47393a79d5a1f0bc43 [PATCH] Framebuffer driver for Arc LCD board

:::::: TO: Jaya Kumar <jayalk@intworks.biz>
:::::: 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: 35633 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-12  3:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12  3:36 drivers/video/fbdev/arcfb.c:119:9: sparse: got void COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt 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

all inboxes | Powered by JetHome®