public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [gustavoars-linux:testing/drm/radeon/si_dpm 8321/8744] arch/mips/kernel/setup.c:47:39: error: conflicting types for '__appended_dtb'
@ 2021-02-09 23:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-09 23:56 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, Gustavo A. R. Silva, LKML

[-- Attachment #1: Type: text/plain, Size: 2465 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/drm/radeon/si_dpm
head:   ec57589a61c44bedeaac6c8f39c7c7425fcf8249
commit: b83ba0b9df56f8404ccc6ebcc7050fb8294f0f20 [8321/8744] MIPS: of: Introduce helper function to get DTB
config: mips-randconfig-r021-20210209 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/commit/?id=b83ba0b9df56f8404ccc6ebcc7050fb8294f0f20
        git remote add gustavoars-linux https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git
        git fetch --no-tags gustavoars-linux testing/drm/radeon/si_dpm
        git checkout b83ba0b9df56f8404ccc6ebcc7050fb8294f0f20
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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

All errors (new ones prefixed by >>):

>> arch/mips/kernel/setup.c:47:39: error: conflicting types for '__appended_dtb'
      47 | const char __section(".appended_dtb") __appended_dtb[0x100000];
         |                                       ^~~~~~~~~~~~~~
   In file included from arch/mips/kernel/setup.c:34:
   arch/mips/include/asm/bootinfo.h:118:13: note: previous declaration of '__appended_dtb' was here
     118 | extern char __appended_dtb[];
         |             ^~~~~~~~~~~~~~


vim +/__appended_dtb +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 <joe@perches.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
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: 21334 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-10  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09 23:56 [gustavoars-linux:testing/drm/radeon/si_dpm 8321/8744] arch/mips/kernel/setup.c:47:39: error: conflicting types for '__appended_dtb' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox