include/linux/liveupdate.h:287:5: warning: no previous prototype for function 'liveupdate_flb_incoming_early'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild
Message-ID <[email protected]>
:::::: 
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Pratyush-Yadav/kho-drop-restriction-on-maximum-page-order/20260815-221525, commit: d0e70617c45e88d720e7461e6ea9f2d136a610c4"
:::::: 

BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Pratyush Yadav <[email protected]>
CC: 0day robot <[email protected]>

tree:   https://github.com/intel-lab-lkp/linux/commits/Pratyush-Yadav/kho-drop-restriction-on-maximum-page-order/20260815-221525
head:   2a05e428bcce0e5ebfdb2617adf37760c36639b0
commit: d0e70617c45e88d720e7461e6ea9f2d136a610c4 liveupdate: flb: allow getting FLB data in early boot
date:   2 days ago
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260817/[email protected]/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 844a18e753e822736c9805ab779144b647a2c186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from kernel/kexec_core.c:18:
>> include/linux/liveupdate.h:287:5: warning: no previous prototype for function 'liveupdate_flb_incoming_early' [-Wmissing-prototypes]
     287 | int liveupdate_flb_incoming_early(struct liveupdate_flb *flb, u64 *datap)
         |     ^
   include/linux/liveupdate.h:287:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     287 | int liveupdate_flb_incoming_early(struct liveupdate_flb *flb, u64 *datap)
         | ^
         | static 
   1 warning generated.


vim +/liveupdate_flb_incoming_early +287 include/linux/liveupdate.h

6ae88b58caeb68 Pasha Tatashin 2025-11-25  286  
d0e70617c45e88 Pratyush Yadav 2025-12-07 @287  int liveupdate_flb_incoming_early(struct liveupdate_flb *flb, u64 *datap)
d0e70617c45e88 Pratyush Yadav 2025-12-07  288  {
d0e70617c45e88 Pratyush Yadav 2025-12-07  289  	return -EOPNOTSUPP;
d0e70617c45e88 Pratyush Yadav 2025-12-07  290  }
d0e70617c45e88 Pratyush Yadav 2025-12-07  291  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.