lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 6 Aug 2021 22:46:16 -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/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>

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

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ