linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup'
@ 2021-08-05 12:04 kernel test robot
  2021-08-07  5:46 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-08-05 12:04 UTC (permalink / raw)
  To: Stafford Horne; +Cc: kbuild-all, linux-kernel

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

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@intel.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

     9	
    10	#ifndef __ASSEMBLY__
  > 11	void __init or1k_early_setup(void *fdt);
    12	#endif
    13	

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup'
  2021-08-05 12:04 [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup' kernel test robot
@ 2021-08-07  5:46 ` Randy Dunlap
  2021-08-07  5:51   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-08-07  5:46 UTC (permalink / raw)
  To: kernel test robot, Stafford Horne; +Cc: kbuild-all, linux-kernel

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@intel.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>

>       9	
>      10	#ifndef __ASSEMBLY__
>    > 11	void __init or1k_early_setup(void *fdt);
>      12	#endif
>      13	
> 
> ---

-- 
~Randy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup'
  2021-08-07  5:46 ` Randy Dunlap
@ 2021-08-07  5:51   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-08-07  5:51 UTC (permalink / raw)
  To: kernel test robot, Stafford Horne; +Cc: kbuild-all, linux-kernel

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@intel.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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-07  5:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 12:04 [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup' kernel test robot
2021-08-07  5:46 ` Randy Dunlap
2021-08-07  5:51   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).