linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mcgrof-next:20210910-firmware-builtin 2/11] drivers/base/firmware_loader/builtin/main.c:36:6: warning: no previous prototype for function 'firmware_is_builtin'
@ 2021-09-13 12:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-13 12:41 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: llvm, kbuild-all, linux-kernel, Borislav Petkov

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

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-randconfig-c006-20210913 (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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 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=clang make.cross ARCH=riscv 

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:36:6: warning: no previous prototype for function 'firmware_is_builtin' [-Wmissing-prototypes]
   bool firmware_is_builtin(const struct firmware *fw)
        ^
   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 warning generated.


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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-13 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 12:41 [mcgrof-next:20210910-firmware-builtin 2/11] drivers/base/firmware_loader/builtin/main.c:36:6: warning: no previous prototype for function 'firmware_is_builtin' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).