[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202212271835.Wqzmsf3c-lkp@intel.com>
Date: Tue, 27 Dec 2022 18:34:59 +0800
From: kernel test robot <lkp@...el.com>
To: Song Chen <chensong_2000@....cn>, rostedt@...dmis.org,
mhiramat@...nel.org, arnd@...db.de
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
Song Chen <chensong_2000@....cn>
Subject: Re: [PATCH v3 3/4] include/asm-generic/io.h: remove performing
pointer arithmetic on a null pointer
Hi Song,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on arnd-asm-generic/master]
[also build test WARNING on linus/master v6.2-rc1 next-20221226]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Song-Chen/reorganize-trace_peobe_tmpl-h/20221206-205410
base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
patch link: https://lore.kernel.org/r/1670229006-4063-1-git-send-email-chensong_2000%40189.cn
patch subject: [PATCH v3 3/4] include/asm-generic/io.h: remove performing pointer arithmetic on a null pointer
config: csky-randconfig-s033-20221225
compiler: csky-linux-gcc (GCC) 12.1.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.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/7dbc7861ae2072e177c0665ac10fe0e3810bd454
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Song-Chen/reorganize-trace_peobe_tmpl-h/20221206-205410
git checkout 7dbc7861ae2072e177c0665ac10fe0e3810bd454
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=csky olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=csky SHELL=/bin/bash drivers/input/joystick/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
drivers/input/joystick/joydump.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/grip_mp.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
--
drivers/input/joystick/tmdc.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/cobra.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/grip.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/gf2k.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
--
drivers/input/joystick/interact.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/analog.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
--
drivers/input/joystick/sidewinder.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/gameport.h):
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
>> include/asm-generic/io.h:545:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:545:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:545:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:548:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:548:38: sparse: expected void const volatile [noderef] __iomem *addr
include/asm-generic/io.h:548:38: sparse: got void *
include/asm-generic/io.h:586:28: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *pci_iobase @@ got void [noderef] __iomem * @@
include/asm-generic/io.h:586:28: sparse: expected void *pci_iobase
include/asm-generic/io.h:586:28: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
include/asm-generic/io.h:589:40: sparse: expected void volatile [noderef] __iomem *addr
include/asm-generic/io.h:589:40: sparse: got void *
vim +545 include/asm-generic/io.h
533
534 /*
535 * {in,out}{b,w,l}() access little endian I/O. {in,out}{b,w,l}_p() can be
536 * implemented on hardware that needs an additional delay for I/O accesses to
537 * take effect.
538 */
539
540 #if !defined(inb) && !defined(_inb)
541 #define _inb _inb
542 static inline u8 _inb(unsigned long addr)
543 {
544 u8 val;
> 545 void *pci_iobase = PCI_IOBASE;
546
547 __io_pbr();
548 val = __raw_readb(pci_iobase + addr);
549 __io_par(val);
550 return val;
551 }
552 #endif
553
554 #if !defined(inw) && !defined(_inw)
555 #define _inw _inw
556 static inline u16 _inw(unsigned long addr)
557 {
558 u16 val;
559 void *pci_iobase = PCI_IOBASE;
560
561 __io_pbr();
562 val = __le16_to_cpu((__le16 __force)__raw_readw(pci_iobase + addr));
563 __io_par(val);
564 return val;
565 }
566 #endif
567
568 #if !defined(inl) && !defined(_inl)
569 #define _inl _inl
570 static inline u32 _inl(unsigned long addr)
571 {
572 u32 val;
573 void *pci_iobase = PCI_IOBASE;
574
575 __io_pbr();
576 val = __le32_to_cpu((__le32 __force)__raw_readl(pci_iobase + addr));
577 __io_par(val);
578 return val;
579 }
580 #endif
581
582 #if !defined(outb) && !defined(_outb)
583 #define _outb _outb
584 static inline void _outb(u8 value, unsigned long addr)
585 {
> 586 void *pci_iobase = PCI_IOBASE;
587
588 __io_pbw();
589 __raw_writeb(value, pci_iobase + addr);
590 __io_paw();
591 }
592 #endif
593
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (144183 bytes)
Powered by blists - more mailing lists