[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006250351.kESOoE7V%lkp@intel.com>
Date: Thu, 25 Jun 2020 03:44:57 +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: 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@...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] 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@...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" (32988 bytes)
Powered by blists - more mailing lists