[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312131846.d1bazU5H-lkp@intel.com>
Date: Wed, 13 Dec 2023 18:48:17 +0800
From: kernel test robot <lkp@...el.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in
argument 1 (different base types)
Hi Miquel,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 88035e5694a86a7167d490bb95e9df97a9bb162b
commit: 72c5af00272339af6bbed6fe7275cd731f57be2d mtd: rawnand: Clarify Kconfig entry MTD_NAND
date: 4 years, 8 months ago
config: sparc-randconfig-r121-20231119 (https://download.01.org/0day-ci/archive/20231213/202312131846.d1bazU5H-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231213/202312131846.d1bazU5H-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312131846.d1bazU5H-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/mtd/nand/raw/r852.c:110:25: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:110:25: sparse: expected unsigned int [usertype] value
drivers/mtd/nand/raw/r852.c:110:25: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:114:25: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:114:25: sparse: expected unsigned int [usertype] value
drivers/mtd/nand/raw/r852.c:114:25: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:147:17: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:147:17: sparse: expected unsigned int [usertype] value
drivers/mtd/nand/raw/r852.c:147:17: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
drivers/mtd/nand/raw/r852.c:55:24: sparse: sparse: cast to restricted __le32
>> drivers/mtd/nand/raw/r852.c:63:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] l @@ got restricted __le32 [usertype] @@
drivers/mtd/nand/raw/r852.c:63:16: sparse: expected unsigned int [usertype] l
drivers/mtd/nand/raw/r852.c:63:16: sparse: got restricted __le32 [usertype]
vim +63 drivers/mtd/nand/raw/r852.c
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 58
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 59 /* write dword sized register */
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 60 static inline void r852_write_reg_dword(struct r852_device *dev,
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 61 int address, uint32_t value)
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 62 {
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 @63 writel(cpu_to_le32(value), dev->mmio + address);
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 64 mmiowb();
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 65 }
67e054e919248f drivers/mtd/nand/r852.c Maxim Levitsky 2010-02-22 66
:::::: The code at line 63 was first introduced by commit
:::::: 67e054e919248fa1db93de727fb9ad49eb700642 mtd: nand: Add driver for Ricoh xD/SmartMedia reader
:::::: TO: Maxim Levitsky <maximlevitsky@...il.com>
:::::: CC: David Woodhouse <David.Woodhouse@...el.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists