* arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
@ 2023-11-07 23:03 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-11-07 23:03 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Bibo Mao <maobibo@loongson.cn>
CC: Huacai Chen <chenhuacai@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 13d88ac54ddd1011b6e94443958e798aa06eb835
commit: c718a0bad75ccef117000223b00fd6a14f849135 LoongArch: Fix some build warnings with W=1
date: 7 weeks ago
:::::: branch date: 3 hours ago
:::::: commit date: 7 weeks ago
config: loongarch-randconfig-r132-20231107 (https://download.01.org/0day-ci/archive/20231108/202311080644.krjWCkWA-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231108/202311080644.krjWCkWA-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@intel.com>
| Closes: https://lore.kernel.org/r/202311080644.krjWCkWA-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/loongarch/mm/ioremap.c:9:21: sparse: sparse: symbol 'early_ioremap' redeclared with different type (different address spaces):
>> arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c: note: in included file:
include/asm-generic/early_ioremap.h:13:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:13:13: sparse: void *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c:14:13: sparse: sparse: symbol 'early_iounmap' redeclared with different type (incompatible argument 1 (different address spaces)):
>> arch/loongarch/mm/ioremap.c:14:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
include/asm-generic/early_ioremap.h:20:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:20:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
arch/loongarch/mm/ioremap.c:21:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:21:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:21:30: sparse: got void [noderef] __iomem *
arch/loongarch/mm/ioremap.c:27:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:27:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:27:30: sparse: got void [noderef] __iomem *
vim +9 arch/loongarch/mm/ioremap.c
09cfefb7fa70c3 Huacai Chen 2022-05-31 8
09cfefb7fa70c3 Huacai Chen 2022-05-31 @9 void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 10 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 11 return ((void __iomem *)TO_CACHE(phys_addr));
09cfefb7fa70c3 Huacai Chen 2022-05-31 12 }
09cfefb7fa70c3 Huacai Chen 2022-05-31 13
09cfefb7fa70c3 Huacai Chen 2022-05-31 @14 void __init early_iounmap(void __iomem *addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 15 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 16
:::::: The code at line 9 was first introduced by commit
:::::: 09cfefb7fa70c3af011b0db0a513fd80b2f18abc LoongArch: Add memory management
:::::: TO: Huacai Chen <chenhuacai@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
@ 2023-11-09 14:37 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-11-09 14:37 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Bibo Mao <maobibo@loongson.cn>
CC: Huacai Chen <chenhuacai@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bc986ab839c844e78a2333a02e55f02c9e57935
commit: c718a0bad75ccef117000223b00fd6a14f849135 LoongArch: Fix some build warnings with W=1
date: 7 weeks ago
:::::: branch date: 17 hours ago
:::::: commit date: 7 weeks ago
config: loongarch-randconfig-r132-20231107 (https://download.01.org/0day-ci/archive/20231109/202311092251.sjJ3oXOT-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231109/202311092251.sjJ3oXOT-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@intel.com>
| Closes: https://lore.kernel.org/r/202311092251.sjJ3oXOT-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/loongarch/mm/ioremap.c:9:21: sparse: sparse: symbol 'early_ioremap' redeclared with different type (different address spaces):
>> arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c: note: in included file:
include/asm-generic/early_ioremap.h:13:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:13:13: sparse: void *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c:14:13: sparse: sparse: symbol 'early_iounmap' redeclared with different type (incompatible argument 1 (different address spaces)):
>> arch/loongarch/mm/ioremap.c:14:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
include/asm-generic/early_ioremap.h:20:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:20:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
arch/loongarch/mm/ioremap.c:21:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:21:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:21:30: sparse: got void [noderef] __iomem *
arch/loongarch/mm/ioremap.c:27:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:27:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:27:30: sparse: got void [noderef] __iomem *
vim +9 arch/loongarch/mm/ioremap.c
09cfefb7fa70c3 Huacai Chen 2022-05-31 8
09cfefb7fa70c3 Huacai Chen 2022-05-31 @9 void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 10 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 11 return ((void __iomem *)TO_CACHE(phys_addr));
09cfefb7fa70c3 Huacai Chen 2022-05-31 12 }
09cfefb7fa70c3 Huacai Chen 2022-05-31 13
09cfefb7fa70c3 Huacai Chen 2022-05-31 @14 void __init early_iounmap(void __iomem *addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 15 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 16
:::::: The code at line 9 was first introduced by commit
:::::: 09cfefb7fa70c3af011b0db0a513fd80b2f18abc LoongArch: Add memory management
:::::: TO: Huacai Chen <chenhuacai@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
@ 2023-11-11 7:38 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-11-11 7:38 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Bibo Mao <maobibo@loongson.cn>
CC: Huacai Chen <chenhuacai@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3ca112b71f35dd5d99fc4571a56b5fc6f0c15814
commit: c718a0bad75ccef117000223b00fd6a14f849135 LoongArch: Fix some build warnings with W=1
date: 7 weeks ago
:::::: branch date: 7 hours ago
:::::: commit date: 7 weeks ago
config: loongarch-randconfig-r132-20231107 (https://download.01.org/0day-ci/archive/20231111/202311111513.5vVouNcb-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231111/202311111513.5vVouNcb-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@intel.com>
| Closes: https://lore.kernel.org/r/202311111513.5vVouNcb-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/loongarch/mm/ioremap.c:9:21: sparse: sparse: symbol 'early_ioremap' redeclared with different type (different address spaces):
>> arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c: note: in included file:
include/asm-generic/early_ioremap.h:13:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:13:13: sparse: void *extern [addressable] [toplevel] early_ioremap( ... )
arch/loongarch/mm/ioremap.c:14:13: sparse: sparse: symbol 'early_iounmap' redeclared with different type (incompatible argument 1 (different address spaces)):
>> arch/loongarch/mm/ioremap.c:14:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
include/asm-generic/early_ioremap.h:20:13: sparse: note: previously declared as:
>> include/asm-generic/early_ioremap.h:20:13: sparse: void extern [addressable] [toplevel] early_iounmap( ... )
arch/loongarch/mm/ioremap.c:21:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:21:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:21:30: sparse: got void [noderef] __iomem *
arch/loongarch/mm/ioremap.c:27:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
arch/loongarch/mm/ioremap.c:27:30: sparse: expected void *
arch/loongarch/mm/ioremap.c:27:30: sparse: got void [noderef] __iomem *
vim +9 arch/loongarch/mm/ioremap.c
09cfefb7fa70c3 Huacai Chen 2022-05-31 8
09cfefb7fa70c3 Huacai Chen 2022-05-31 @9 void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 10 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 11 return ((void __iomem *)TO_CACHE(phys_addr));
09cfefb7fa70c3 Huacai Chen 2022-05-31 12 }
09cfefb7fa70c3 Huacai Chen 2022-05-31 13
09cfefb7fa70c3 Huacai Chen 2022-05-31 @14 void __init early_iounmap(void __iomem *addr, unsigned long size)
09cfefb7fa70c3 Huacai Chen 2022-05-31 15 {
09cfefb7fa70c3 Huacai Chen 2022-05-31 16
:::::: The code at line 9 was first introduced by commit
:::::: 09cfefb7fa70c3af011b0db0a513fd80b2f18abc LoongArch: Add memory management
:::::: TO: Huacai Chen <chenhuacai@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-11 7:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-07 23:03 arch/loongarch/mm/ioremap.c:9:21: sparse: void [noderef] __iomem *extern [addressable] [toplevel] early_ioremap( ... ) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-11-09 14:37 kernel test robot
2023-11-11 7:38 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.