drivers/soc/Kconfig:23: 'menu' in different file than 'menu'

From: kbuild test robot
Date: Fri May 17 2019 - 00:42:58 EST


Hi Patrick,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0d74471924f2a01dcd32d154510c0500780b531a
commit: 524feb799408e5d45c6aa82763a9f52489d1e19f soc: add aspeed folder and misc drivers
date: 3 weeks ago
config: xtensa-allyesconfig
compiler: xtensa-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 524feb799408e5d45c6aa82763a9f52489d1e19f
GCC_VERSION=8.1.0 make.cross ARCH=xtensa allyesconfig
GCC_VERSION=8.1.0 make.cross ARCH=xtensa

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/soc/Kconfig:23: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
>> drivers/Kconfig:233: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
<none>:34: syntax error
>> drivers/Kconfig:2: missing end statement for this entry
make[2]: *** [allyesconfig] Error 1
make[1]: *** [allyesconfig] Error 2
make: *** [sub-make] Error 2
--
>> drivers/soc/Kconfig:23: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
>> drivers/Kconfig:233: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
<none>:34: syntax error
>> drivers/Kconfig:2: missing end statement for this entry
make[2]: *** [oldconfig] Error 1
make[1]: *** [oldconfig] Error 2
make: *** [sub-make] Error 2
--
>> drivers/soc/Kconfig:23: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
>> drivers/Kconfig:233: 'menu' in different file than 'menu'
>> drivers/soc/aspeed/Kconfig:1: location of the 'menu'
<none>:34: syntax error
>> drivers/Kconfig:2: missing end statement for this entry
make[2]: *** [olddefconfig] Error 1
make[1]: *** [olddefconfig] Error 2
make: *** [sub-make] Error 2

vim +23 drivers/soc/Kconfig

5d144e36 Andy Gross 2014-04-24 22
3a6e0821 Santosh Shilimkar 2014-04-23 @23 endmenu

:::::: The code at line 23 was first introduced by commit
:::::: 3a6e08218f36baa9c49282ad2fe0dfbf001d8f23 soc: Introduce drivers/soc place-holder for SOC specific drivers

:::::: TO: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
:::::: CC: Kumar Gala <galak@xxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation