[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <251bc79f-7703-4a1c-bb8e-0c61bbcefc4c@infradead.org>
Date: Fri, 6 Aug 2021 22:51:11 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: kernel test robot <lkp@...el.com>,
Stafford Horne <shorne@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: Re: [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'or1k_early_setup'
On 8/6/21 10:46 PM, Randy Dunlap wrote:
> On 8/5/21 5:04 AM, kernel test robot wrote:
>> tree: https://github.com/openrisc/linux.git for-next
>> head: 19e14f3a81d227f1c8b8d5371de28b3ab3deb556
>> commit: 19e14f3a81d227f1c8b8d5371de28b3ab3deb556 [3/3] openrisc: Fix compiler warnings in setup
>> config: openrisc-randconfig-r005-20210804 (attached as .config)
>> compiler: or1k-linux-gcc (GCC) 10.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://github.com/openrisc/linux/commit/19e14f3a81d227f1c8b8d5371de28b3ab3deb556
>> git remote add openrisc https://github.com/openrisc/linux.git
>> git fetch --no-tags openrisc for-next
>> git checkout 19e14f3a81d227f1c8b8d5371de28b3ab3deb556
>> # save the attached .config to linux build tree
>> mkdir build_dir
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <lkp@...el.com>
>>
>> All errors (new ones prefixed by >>):
>>
>> In file included from arch/openrisc/include/asm/page.h:35,
>> from drivers/usb/atm/speedtch.c:12:
>>>> arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup'
>> 11 | void __init or1k_early_setup(void *fdt);
>> | ^~~~~~~~~~~~~~~~
>>
>>
>> vim +11 arch/openrisc/include/asm/setup.h
>
> Hi Stafford-
>
> #include <linux/init.h>
>
> and where is this file?
>
> #include <asm-generic/setup.h>
Found it.
>
>> 9
>> 10 #ifndef __ASSEMBLY__
>> > 11 void __init or1k_early_setup(void *fdt);
>> 12 #endif
>> 13
>>
>> ---
>
--
~Randy
Powered by blists - more mailing lists