* drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2020-06-29 15:52 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-29 15:52 UTC (permalink / raw)
To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 29617 bytes --]
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@intel.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@gaisler.com>
:::::: CC: Grant Likely <grant.likely@secretlab.ca>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27116 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2020-06-24 19:44 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-24 19:44 UTC (permalink / raw)
To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 21591 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3e08a95294a4fb3702bb3d35ed08028433c37fe6
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH
date: 7 months ago
config: alpha-randconfig-s031-20200624 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-dirty
git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f
# save the attached .config to linux build tree
make W=1 C=1 ARCH=alpha CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/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] b @@ got restricted __be32 [usertype] @@
drivers/spi/spi-fsl-spi.c:699:17: sparse: expected unsigned int [usertype] b
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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> 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] b @@ got restricted __be32 [usertype] @@
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: expected unsigned int [usertype] b
>> drivers/spi/spi-fsl-lib.h:84:9: sparse: got restricted __be32 [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
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu 2010-10-12 87 static inline u32 mpc8xxx_spi_read_reg(__be32 __iomem *reg)
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu 2010-10-12 88 {
e8beacbb85a5c1 drivers/spi/spi-fsl-lib.h Andreas Larsson 2013-02-15 @89 return ioread32be(reg);
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu 2010-10-12 90 }
b36ece832512c1 drivers/spi/spi_fsl_lib.h Mingkai Hu 2010-10-12 91
:::::: 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@gaisler.com>
:::::: CC: Grant Likely <grant.likely@secretlab.ca>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32988 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-29 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 15:52 drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-06-24 19:44 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).