[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109041210.UlXSjXS3-lkp@intel.com>
Date: Sat, 4 Sep 2021 12:12:14 +0800
From: kernel test robot <lkp@...el.com>
To: Borislav Petkov <bp@...e.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Luis Chamberlain <mcgrof@...nel.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'
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@...el.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@...nel.org>
:::::: CC: Luis Chamberlain <mcgrof@...nel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (55745 bytes)
Powered by blists - more mailing lists