mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: drivers/spi/spi-fsl-lib.h:84:9: sparse: sparse: incorrect type in argument 1 (different base types)
Date: Thu, 25 Jun 2020 03:44:57 +0800	[thread overview]
Message-ID: <202006250351.kESOoE7V%lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2020-06-24 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 19:44 kernel test robot [this message]
2020-06-29 15:52 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202006250351.kESOoE7V%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luc.vanoostenryck@gmail.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®