public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Borislav Petkov <bp@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Luis Chamberlain <mcgrof@kernel.org>
Subject: [mcgrof-next:20210903-firmware-builtin 8/8] drivers/base/firmware_loader/builtin/main.c:42:6: warning: no previous prototype for 'firmware_is_builtin'
Date: Sat, 4 Sep 2021 12:12:14 +0800	[thread overview]
Message-ID: <202109041210.UlXSjXS3-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2216 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20210903-firmware-builtin
head:   f04680656e851c6cde6f2ee077053edf49c2a65e
commit: f04680656e851c6cde6f2ee077053edf49c2a65e [8/8] test_firmware: add support for testing built-in firmware
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=f04680656e851c6cde6f2ee077053edf49c2a65e
        git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
        git fetch --no-tags mcgrof-next 20210903-firmware-builtin
        git checkout f04680656e851c6cde6f2ee077053edf49c2a65e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=sh 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/base/firmware_loader/builtin/main.c:42:6: warning: no previous prototype for 'firmware_is_builtin' [-Wmissing-prototypes]
      42 | bool firmware_is_builtin(const struct firmware *fw)
         |      ^~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FW_LOADER_BUILTIN
   Depends on FW_LOADER
   Selected by
   - TEST_BUILTIN_FIRMWARE && RUNTIME_TESTING_MENU && TEST_FIRMWARE


vim +/firmware_is_builtin +42 drivers/base/firmware_loader/builtin/main.c

7ee0e1090d8707 Luis Chamberlain 2021-09-03  41  
7ee0e1090d8707 Luis Chamberlain 2021-09-03 @42  bool firmware_is_builtin(const struct firmware *fw)

:::::: The code at line 42 was first introduced by commit
:::::: 7ee0e1090d8707d9e53490697ccd0200fcba07a9 firmware_loader: formalize built-in firmware API

:::::: TO: Luis Chamberlain <mcgrof@kernel.org>
:::::: CC: Luis Chamberlain <mcgrof@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 55745 bytes --]

                 reply	other threads:[~2021-09-04  4:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109041210.UlXSjXS3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bp@suse.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox