public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
Date: Sat, 16 Jan 2021 18:36:53 +0800	[thread overview]
Message-ID: <202101161842.2iRBZKeR-lkp@intel.com> (raw)

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

Hi Jiaxun,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1d94330a437a573cfdf848f6743b1ed169242c8a
commit: b13812ddea615b6507beef24f76540c0c1143c5c MIPS: Loongson2ef: Disable Loongson MMI instructions
date:   4 months ago
config: mips-randconfig-s032-20210116 (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.3-208-g46a52ca4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b13812ddea615b6507beef24f76540c0c1143c5c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b13812ddea615b6507beef24f76540c0c1143c5c
        # 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 >>)"
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:41:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:41:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:42:19: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:42:19: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:52:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:52:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:58:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_core.c:58:9: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_core.c:58:9: sparse:     got restricted __be32 [usertype]
>> sound/pci/mixart/mixart_core.c:58:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:58:9: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:58:9: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:77:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:77:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:78:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:78:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:79:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:79:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:80:32: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_core.c:80:32: sparse:     got unsigned int *
   sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_core.c:104:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_core.c:104:19: sparse:     expected void const volatile [noderef] __iomem *mem
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:374:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:374:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:374:17: sparse:     got restricted __be32 [usertype]
>> sound/pci/mixart/mixart_hwdep.c:374:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:374:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:374:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:377:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:379:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:385:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:414:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:415:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:418:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:425:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:435:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:481:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __be32 [usertype] @@
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse:     expected unsigned int [usertype] val
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse:     got restricted __be32 [usertype]
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse:     expected void volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:484:17: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart_hwdep.c:494:23: sparse:     expected void const volatile [noderef] __iomem *mem
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1187:23: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1187:23: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1190:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1190:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1191:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1191:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got unsigned int * @@
   sound/pci/mixart/mixart.c:1192:47: sparse:     expected void const volatile [noderef] __iomem *mem
   sound/pci/mixart/mixart.c:1192:47: sparse:     got unsigned int *
   sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/pci/ops-loongson2.c:93:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     expected unsigned int [usertype] val
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     got restricted __le32 [usertype]
>> arch/mips/pci/ops-loongson2.c:93:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     expected void volatile [noderef] __iomem *mem
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     expected void const volatile [noderef] __iomem *mem
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: cast to restricted __le32

vim +/__iomem +20 arch/mips/loongson2ef/common/reset.c

71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  16  
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  17  static inline void loongson_reboot(void)
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  18  {
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  19  #ifndef CONFIG_CPU_JUMP_WORKAROUNDS
4bdc0d676a643140 Christoph Hellwig 2020-01-06 @20  	((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) ();
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  21  #else
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  22  	void (*func)(void);
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  23  
4bdc0d676a643140 Christoph Hellwig 2020-01-06  24  	func = (void *)ioremap(LOONGSON_BOOT_BASE, 4);
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  25  
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  26  	__asm__ __volatile__(
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  27  	"	.set	noat						\n"
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  28  	"	jr	%[func]						\n"
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  29  	"	.set	at						\n"
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  30  	: /* No outputs */
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  31  	: [func] "r" (func));
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  32  #endif
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  33  }
71e2f4dd5a65bd8d Jiaxun Yang       2019-10-20  34  

:::::: The code at line 20 was first introduced by commit
:::::: 4bdc0d676a643140bdf17dbf7eafedee3d496a3c remove ioremap_nocache and devm_ioremap_nocache

:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Christoph Hellwig <hch@lst.de>

---
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: 28569 bytes --]

             reply	other threads:[~2021-01-16 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16 10:36 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-22 10:39 arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression kernel test robot

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=202101161842.2iRBZKeR-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /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