Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1943083pxb; Fri, 10 Sep 2021 18:53:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCQPL1A4DyWvEuScDFR0zkeQyENqXcIylfG2AlRs8fM+/4pWH+Z2JHoWyN18swzS+SRm1T X-Received: by 2002:a17:906:640f:: with SMTP id d15mr576708ejm.419.1631325226223; Fri, 10 Sep 2021 18:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631325226; cv=none; d=google.com; s=arc-20160816; b=ZSKg8lwgQfBpqNNdybJldrD/rrw7p7xuLo53P2SKMUtUe6m078EBpIDN3XNJS1a0s3 bGolqHmx7c0zc26icK3c58fJIsjfB/bk/tiEz5rz4BN4uOlMHkCqovCDBj3R2Wm8zzMu jdaX8BA/Rhv6GVLBtj9N535coQuuiySFAapyOYVPls8G9IcXHhamniM+k7wdtXnhz1Mu TPpntpT2XC221KYY9oexlvrKXn4khLDFQjXLtW/Z48Z/wAIrZByTs8m6YPcYRGkJhT4j tz44bWpiRm28Ghh2j74sfU5nbJrCuoNkQSAQ8FLpiwmDVGwhYIwi5Y9jcvMn8saHr9yD krBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Zq/LGmh73GfDj0CNgXiXGcl7n2lL5FOmRvOGARD3RT4=; b=BzuN1o8ykomUVlWZQM/Xwhpf1j8f/k+dNxeRfY+229qcIZ01a85A3EByFMvLmke52Y Si52CaUezp0jQe8FFSvM0nHKUd8/epW6YUQXNUa3dwRam9VeIzpOATUygnUnrZLC3hGy IkaEbqWQ4hbEmqVTd7nWPYFuACcOiSJAnrXMxbT63leepSthik/w+F9ekPOP+azwOt6t kkJEFMwOcc5F4Obv4WdKCdJHvRztiFJKT97zJXB87//kkNZzo1jFEHl7gk2yxVsPLoyK IjbJezDVjOXFRzQFWDKVrbhU2X4mqZQEH84moqPEWZ9mUdNpnDZ6EVhvpdMVa0iaJJok kc4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lYdwZIQx; 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 l6si410970edb.432.2021.09.10.18.53.22; Fri, 10 Sep 2021 18:53:46 -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=@kernel.org header.s=k20201202 header.b=lYdwZIQx; 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 S234343AbhIKBxT (ORCPT + 99 others); Fri, 10 Sep 2021 21:53:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:34772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbhIKBxT (ORCPT ); Fri, 10 Sep 2021 21:53:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 383DD6120A; Sat, 11 Sep 2021 01:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631325127; bh=mdHTwi3bPAgwigVkTbRKEkcrsC0tJKyvT6eXvTAILXg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lYdwZIQxWGjp4AFrIR8NjQuCzyky7E3OsVxlq1+gXJ94R9+U6Tgy6wPrD9fmaKcRg QNk2dY8MzWDetP9aFwSAwpjez/h4bg9V4ArNlZiSKvwLM04vYKlJAWIM2E+JkbRvI5 x3qo0zTnaBPjYJyBE0TRBqDy3IpqKV1BDitN2zy3lMGPZ/TvacUg3taRm9cQzSxJLW 5MAFbqFam32IBZWSKJNfm8PuFJ5P/yLD/IEeTBmimTKxpjxpv3XkONtMLj1npc6YoJ 8QVXFJZ9n2Lwd0lJaxEJKEklZHifn32ioIwzX+KqRcs+/DHoPzwxMNu/Lb5COBJLuw yXK025PRjhBzA== Date: Fri, 10 Sep 2021 18:52:03 -0700 From: Nathan Chancellor To: Luis Chamberlain Cc: kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Borislav Petkov Subject: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Unless I am missing something, you don't include the firmware_loader copy of firmware.h in builtin/main.c (only the linux one)? Isn't that the source of the warning? Cheers, Nathan