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 DD252C4338F for ; Sat, 7 Aug 2021 05:46:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1C8460E78 for ; Sat, 7 Aug 2021 05:46:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbhHGFrB (ORCPT ); Sat, 7 Aug 2021 01:47:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbhHGFqs (ORCPT ); Sat, 7 Aug 2021 01:46:48 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC44C0613CF for ; Fri, 6 Aug 2021 22:46:31 -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:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=bhmknDdBMJ24cCVf7fBkpiX+meZ4BJIZdJLH2jZ7A8I=; b=rJjTpoPw/bGawWn5h3ywvUg8ng +nDEhO5q6nbp/srhlHOGElTRCMTINKg3AAJvzIJryiFCDNJ/JXTRTbJgN2UJgwFTk1V/0/KpBFyIQ c6setj8BM08HKd3IG+3pBUvIIC451sLYWJEWyFSmUN2mQBFsZ0Liy2tVAG0Vi7d2vsvkGWbhps1TD RkHO50VC9kjEQnLh7wTzTZgzxqiWvAQDNbEKcGk8RU8HNan8RPvA6VtBts6/xZha+CPlfkE4Q4zTt kPozSQWLUWUtInnKFD68JYmxvfSscPmOqCZJUS4FoqPG0I8lfvHfWw5+zFMFuv4mMqkGvqqqIpsek rOJlq2+w==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mCFA5-008sWM-79; Sat, 07 Aug 2021 05:46:23 +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' To: kernel test robot , Stafford Horne Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202108052040.jEu76XzR-lkp@intel.com> From: Randy Dunlap Message-ID: <50c8f758-91de-8f0a-57e1-07e71afcdbde@infradead.org> Date: Fri, 6 Aug 2021 22:46:16 -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: <202108052040.jEu76XzR-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 9 > 10 #ifndef __ASSEMBLY__ > > 11 void __init or1k_early_setup(void *fdt); > 12 #endif > 13 > > --- -- ~Randy