lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202101161842.2iRBZKeR-lkp@intel.com>
Date:   Sat, 16 Jan 2021 18:36:53 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jiaxun Yang <jiaxun.yang@...goat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast
 removes address space '__iomem' of expression

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@...el.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@....de>
:::::: CC: Christoph Hellwig <hch@....de>

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

Download attachment ".config.gz" of type "application/gzip" (28569 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ