Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1960458pxb; Mon, 13 Sep 2021 09:01:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOsfGjkugzbX9kvDDwL6A2H9joBGbZlxCdewbbTA4kL9p2YWupCX6z/D44iFlWvN1F/qeb X-Received: by 2002:a5d:8b43:: with SMTP id c3mr7766904iot.30.1631548871431; Mon, 13 Sep 2021 09:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631548871; cv=none; d=google.com; s=arc-20160816; b=Q7fEya239eDQwAideD/zuNYelXC/xUQjuOKMCzhfOXW0BRMDSD/YfjKfaaK6XPt/NR jE0Rw6ly6RPcy2KIXMVhurhH//uqAV5ph79xo8ArcI7eUMRT4mKTih/Y8LpRyi/L76D2 ECMJgonpOr+MyZ9G+hb77FWNScA06B+b9nmSgMzQzIgSrvcJypEALLEY0bdnvLkf9u3+ xOWpucfsPFSVR7ek4GyzhYAuGXEhdHnI2wUPmDbry8WM6pSGzCa01gDdVpJznOb35yWk 0EXDfGc1jci71mT0FFRsebmKx4syjR6uB2FujurHtrjs8KTxr6YFuhKnRNird3wNI0vR Pv1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KaliKYYkNMqrhjKwpWKqxXm8VgZh11hwlXmN3oD3zZk=; b=DZUFMXv8WxvrGW+B8MaGCfGlmu2d630YeZMHAWcEmdVqjI2p0UuFOeKyKjjS6agP6e H5ZaqiphbQUXls3BCn/QOZNqMahu5/bOFmp5FME//SrmE1VdvVxNvCtDQKPOhaGNN5NZ x72m1hPRb8BVIEhdfAtBhSJ8OwxmMtjqt2AaM6v8mZfAyXIYl6pajrPbbpM9+tRFsk8J IjnSlWexjZ1taabB45oP5QvFDm2VQ+TCYM37dkafphnTCSpczVwVhjGrskyem6UWAPnz 4eLM1uWyIb8IKfPJ/0suP5yCjnb6v4oZmV4/vGnmKFb5xTLMMi9BbD/5v4T7MPSuMOSC RgbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SY0xVqk7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si6894457ile.58.2021.09.13.09.00.56; Mon, 13 Sep 2021 09:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SY0xVqk7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231709AbhIMQBJ (ORCPT + 99 others); Mon, 13 Sep 2021 12:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230131AbhIMQBI (ORCPT ); Mon, 13 Sep 2021 12:01:08 -0400 Received: from bombadil.infradead.org (unknown [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCE84C061574 for ; Mon, 13 Sep 2021 08:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=KaliKYYkNMqrhjKwpWKqxXm8VgZh11hwlXmN3oD3zZk=; b=SY0xVqk7mI72ydm3mgM8JYkEqJ m4o4HwcN5IWtxcW0tjrqFWgZDfENT2mJTaih2bwiLEgJvu+OfSF+VBrgU57c/KNKKZy7oR0ylDfLC eIO92nHgGmseg6OqOK549uP4e6BPwPps1+8zw9XB0FS/G4x6hiJt2MQu968Wa1jvEg4eJMqlw2lvw pH5mEbUrvqGls9G4XZul084lWAHpV1YxYmmPZY4Ec9gwhpCrRg+k5G6xDzcPztusUZQ5HSclTQzI6 KAb0R1ZAa2FeYp5y3pUSRCze1KX1hdJiDsiJUK8o0Q+3+v+xpQSQ9D+mQD9nv9h2JjrYAO41WVQOp 1eXsbBRg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPoN4-002GLi-Au; Mon, 13 Sep 2021 15:59:50 +0000 Date: Mon, 13 Sep 2021 08:59:50 -0700 From: Luis Chamberlain To: Philip Li Cc: kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Borislav Petkov Subject: Re: [kbuild-all] Re: [mcgrof-next:20210908-firmware-builtin-v4 2/11] drivers/base/firmware_loader/builtin/main.c:36:6: error: no previous prototype for function 'firmware_is_builtin' Message-ID: References: <202109101524.pjY4q0Dy-lkp@intel.com> <20210911012853.GA834679@pl-dbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210911012853.GA834679@pl-dbox> Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 11, 2021 at 09:28:53AM +0800, Philip Li wrote: > On Fri, Sep 10, 2021 at 05:48:23PM -0700, Luis Chamberlain wrote: > > On Fri, Sep 10, 2021 at 03:41:31PM +0800, kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20210908-firmware-builtin-v4 > > > head: 1c69d6a17750179d68bcaf6b16f9a08d2e475989 > > > commit: 79e9fce20ee88ffe37542a66277628e6c53dde14 [2/11] firmware_loader: formalize built-in firmware API > > > config: hexagon-buildonly-randconfig-r004-20210910 (attached as .config) > > > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a) > > > 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://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=79e9fce20ee88ffe37542a66277628e6c53dde14 > > > git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git > > > git fetch --no-tags mcgrof-next 20210908-firmware-builtin-v4 > > > git checkout 79e9fce20ee88ffe37542a66277628e6c53dde14 > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon > > > > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > > > > All errors (new ones prefixed by >>): > > > > > > >> drivers/base/firmware_loader/builtin/main.c:36:6: error: no previous prototype for function 'firmware_is_builtin' [-Werror,-Wmissing-prototypes] > > > bool firmware_is_builtin(const struct firmware *fw) > > > > This is a lie though its defined on drivers/base/firmware_loader/firmware.h > > > > > ^ > > > drivers/base/firmware_loader/builtin/main.c:36:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > > > bool firmware_is_builtin(const struct firmware *fw) > > > ^ > > > static > > > 1 error generated. > > > > I get these odd errors: > > > > Compiler will be installed in /home/mcgrof/0day > hi Luis, would you mind to download the make.cross tool again to give a try, it > was updated recently to use latest clang instead of this 12.0.0? I had clang+llvm-12.0.0-cross-hexagon-unknown-linux-musl and this was used already. Is there a more recent one? Just in case I rm -rf'd it and tried again with the latest make.cross. Luis