From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 437FCC4338F for ; Sat, 7 Aug 2021 05:51:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 166CD61181 for ; Sat, 7 Aug 2021 05:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231251AbhHGFvm (ORCPT ); Sat, 7 Aug 2021 01:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbhHGFvl (ORCPT ); Sat, 7 Aug 2021 01:51:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE439C0613CF for ; Fri, 6 Aug 2021 22:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=Ykyesqpa4JO1NvFqTxgiNWjE2F02tCDu86tfvqTqp5I=; b=dcxAIEdxlcHNVRsfon7rL611he iOOcHOMwcoxeTT2kjeFWEng08Ari8+liWepmhnzvI10RCwYhWOvQlhIZyL5bNR9ZoEHs+VMh6zton tsgVAhzvsm0uzInPpGdTQEGQXhOC0RJyaqh+L6BocP+Giznb/wVUH940E9umBfutZrkB8guaK1qop 7vhd9jzxUuyyPngM01qo942bLozfP/kmkW9nMGj2cuEN+Q4h9cLSQsWyDvMUkt/gaCEp6VXnXwNSA 3UxXlS7lk/VRqjR9tvs3sZJyX0zuChKidVo6iIWtNdccdiLrqhW7ACycfTGJf3TbTQoBg9XH1k7IP fhK94X/Q==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mCFEo-008sfu-Cl; Sat, 07 Aug 2021 05:51:17 +0000 Subject: Re: [openrisc:for-next 3/3] arch/openrisc/include/asm/setup.h:11:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'or1k_early_setup' From: Randy Dunlap To: kernel test robot , Stafford Horne Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202108052040.jEu76XzR-lkp@intel.com> <50c8f758-91de-8f0a-57e1-07e71afcdbde@infradead.org> Message-ID: <251bc79f-7703-4a1c-bb8e-0c61bbcefc4c@infradead.org> Date: Fri, 6 Aug 2021 22:51:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <50c8f758-91de-8f0a-57e1-07e71afcdbde@infradead.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> >> 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 > > and where is this file? > > #include Found it. > >>       9 >>      10    #ifndef __ASSEMBLY__ >>    > 11    void __init or1k_early_setup(void *fdt); >>      12    #endif >>      13 >> >> --- > -- ~Randy