lkml.org 
[lkml]   [2021]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mcgrof-next:20210910-firmware-builtin 2/11] drivers/base/firmware_loader/builtin/main.c:36:6: error: no previous prototype for 'firmware_is_builtin'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20210910-firmware-builtin
head: 40b3be7167817d8c02ed8514b6ef17ba8b4a1c0c
commit: 901fa5ebf866856ccd05ebc532f3a27786f7966e [2/11] firmware_loader: formalize built-in firmware API
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-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=901fa5ebf866856ccd05ebc532f3a27786f7966e
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20210910-firmware-builtin
git checkout 901fa5ebf866856ccd05ebc532f3a27786f7966e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=riscv

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

All errors (new ones prefixed by >>):

>> drivers/base/firmware_loader/builtin/main.c:36:6: error: no previous prototype for 'firmware_is_builtin' [-Werror=missing-prototypes]
36 | bool firmware_is_builtin(const struct firmware *fw)
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


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

35
> 36 bool firmware_is_builtin(const struct firmware *fw)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-09-11 14:59    [W:0.037 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site