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: <202006292345.VXyEv4gC%lkp@intel.com>
Date:   Mon, 29 Jun 2020 23:52:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Masahiro Yamada <yamada.masahiro@...ionext.com>
Subject: drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in
 argument 1 (different base types)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date:   8 months ago
config: alpha-randconfig-s032-20200629 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-3-gfa153962-dirty
        git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha 

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 >>)

   drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:93:44: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:93:44: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *mode @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:94:33: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *mode
   drivers/spi/spi-fsl-spi.c:94:33: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:294:44: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:294:44: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:299:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:299:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:303:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:303:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:317:18: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:317:18: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:350:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:350:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:460:18: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:460:18: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:460:18: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:463:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:463:45: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:463:45: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:499:44: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:499:44: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:499:44: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:503:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:503:53: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:503:53: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:512:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:512:47: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:512:47: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:517:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:517:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:517:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:523:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:523:40: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:523:40: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:534:44: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:534:44: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:534:44: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:537:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:537:40: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:537:40: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:554:51: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:554:51: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:554:51: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:561:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:561:48: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:561:48: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:563:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:563:40: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:563:40: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:572:51: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:572:51: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:572:51: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:576:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:576:46: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:576:46: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:586:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:586:40: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:586:40: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct fsl_spi_reg *reg_base @@     got void [noderef] <asn:2> *reg_base @@
   drivers/spi/spi-fsl-spi.c:652:18: sparse:     expected struct fsl_spi_reg *reg_base
   drivers/spi/spi-fsl-spi.c:652:18: sparse:     got void [noderef] <asn:2> *reg_base
   drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:655:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:655:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:656:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:656:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:656:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:657:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:657:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:657:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:658:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:658:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:658:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:669:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected restricted __be32 [noderef] [usertype] <asn:2> *reg @@     got restricted __be32 * @@
   drivers/spi/spi-fsl-spi.c:669:32: sparse:     expected restricted __be32 [noderef] [usertype] <asn:2> *reg
   drivers/spi/spi-fsl-spi.c:669:32: sparse:     got restricted __be32 *
   drivers/spi/spi-fsl-spi.c:699:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
   drivers/spi/spi-fsl-spi.c:699:17: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-spi.c:699:17: sparse:     got restricted __be32 [usertype]
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
   drivers/spi/spi-fsl-lib.h:89:16: sparse: sparse: cast to restricted __be32
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse:     expected unsigned int [usertype]
   drivers/spi/spi-fsl-lib.h:84:9: sparse:     got restricted __be32 [usertype]
--
>> include/linux/spinlock.h:393:9: sparse: sparse: context imbalance in 'skd_mq_queue_rq' - unexpected unlock
--
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
--
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
   drivers/dma/fsl-edma-common.h:179:24: sparse: sparse: cast to restricted __be32
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]
>> drivers/dma/fsl-edma-common.h:208:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] @@     got restricted __be32 [usertype] @@
>> drivers/dma/fsl-edma-common.h:208:17: sparse:     expected unsigned int [usertype]
   drivers/dma/fsl-edma-common.h:208:17: sparse:     got restricted __be32 [usertype]
>> drivers/dma/fsl-edma-common.h:199:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] @@     got restricted __be16 [usertype] @@
>> drivers/dma/fsl-edma-common.h:199:17: sparse:     expected unsigned short [usertype]
   drivers/dma/fsl-edma-common.h:199:17: sparse:     got restricted __be16 [usertype]

vim +84 drivers/spi/spi-fsl-lib.h

b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu      2010-10-12  81  
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu      2010-10-12  82  static inline void mpc8xxx_spi_write_reg(__be32 __iomem *reg, u32 val)
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu      2010-10-12  83  {
e8beacbb85a5c1 drivers/spi/spi-fsl-lib.h Andreas Larsson 2013-02-15 @84  	iowrite32be(val, reg);
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu      2010-10-12  85  }
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu      2010-10-12  86  

:::::: The code at line 84 was first introduced by commit
:::::: e8beacbb85a5c1de1117400c5ddb450514a8372c spi/spi-fsl-spi: Make driver usable in CPU mode outside of an FSL_SOC environment

:::::: TO: Andreas Larsson <andreas@...sler.com>
:::::: CC: Grant Likely <grant.likely@...retlab.ca>

---
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" (27116 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ