[lkml]   [2021]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[gustavoars-linux:testing/staging/rtl8188eu 8321/8744] arch/mips/kernel/setup.c:47:39: error: redefinition of '__appended_dtb' with a different type: 'const char vs 'char
tree: testing/staging/rtl8188eu
head: 25e1a76c1c41a6d6f103b572f4f50ba30787f9ab
commit: b83ba0b9df56f8404ccc6ebcc7050fb8294f0f20 [8321/8744] MIPS: of: Introduce helper function to get DTB
config: mips-randconfig-r033-20210209 (attached as .config)
compiler: clang version 12.0.0 ( c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git remote add gustavoars-linux
git fetch --no-tags gustavoars-linux testing/staging/rtl8188eu
git checkout b83ba0b9df56f8404ccc6ebcc7050fb8294f0f20
# save the attached .config to linux build tree

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All errors (new ones prefixed by >>):

>> arch/mips/kernel/setup.c:47:39: error: redefinition of '__appended_dtb' with a different type: 'const char [1048576]' vs 'char []'
const char __section(".appended_dtb") __appended_dtb[0x100000];
arch/mips/include/asm/bootinfo.h:118:13: note: previous declaration is here
extern char __appended_dtb[];
1 error generated.

vim +47 arch/mips/kernel/setup.c

^1da177e4c3f41 Linus Torvalds 2005-04-16 45
87db537da4cd1b Aaro Koskinen 2015-09-11 46 #ifdef CONFIG_MIPS_ELF_APPENDED_DTB
33def8498fdde1 Joe Perches 2020-10-21 @47 const char __section(".appended_dtb") __appended_dtb[0x100000];
87db537da4cd1b Aaro Koskinen 2015-09-11 48 #endif /* CONFIG_MIPS_ELF_APPENDED_DTB */
87db537da4cd1b Aaro Koskinen 2015-09-11 49

:::::: The code at line 47 was first introduced by commit
:::::: 33def8498fdde180023444b08e12b72a9efed41d treewide: Convert macro and uses of __section(foo) to __section("foo")

:::::: TO: Joe Perches <>
:::::: CC: Linus Torvalds <>

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2021-02-10 03:01    [W:0.047 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site