From: kernel test robot <lkp@intel.com>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: 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
Date: Wed, 12 Aug 2020 11:36:42 +0800 [thread overview]
Message-ID: <202008121136.xf4UbzFR%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-08-12 3:55 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=202008121136.xf4UbzFR%lkp@intel.com \
--to=lkp@intel.com \
--cc=b.zolnierkie@samsung.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®