Re: [PATCH 5/6] liveupdate: Make unregister functions return void
From: kernel test robot
Date: Tue Mar 17 2026 - 06:11:30 EST
Hi Pasha,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-nonmm-unstable]
[also build test WARNING on akpm-mm/mm-everything linus/master v7.0-rc4 next-20260316]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Pasha-Tatashin/liveupdate-Protect-file-handler-list-with-rwsem/20260317-105522
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
patch link: https://lore.kernel.org/r/20260317025049.494931-6-pasha.tatashin%40soleen.com
patch subject: [PATCH 5/6] liveupdate: Make unregister functions return void
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260317/202603171111.YBKWkKnp-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260317/202603171111.YBKWkKnp-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603171111.YBKWkKnp-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
In file included from kernel/kexec_core.c:18:
>> include/linux/liveupdate.h:274:2: warning: void function 'liveupdate_unregister_flb' should not return a value [-Wreturn-mismatch]
274 | return -EOPNOTSUPP;
| ^ ~~~~~~~~~~~
1 warning generated.
vim +/liveupdate_unregister_flb +274 include/linux/liveupdate.h
cab056f2aae725 Pasha Tatashin 2025-12-18 270
e62bd1ab0687a1 Pasha Tatashin 2026-03-16 271 static inline void liveupdate_unregister_flb(struct liveupdate_file_handler *fh,
cab056f2aae725 Pasha Tatashin 2025-12-18 272 struct liveupdate_flb *flb)
cab056f2aae725 Pasha Tatashin 2025-12-18 273 {
cab056f2aae725 Pasha Tatashin 2025-12-18 @274 return -EOPNOTSUPP;
cab056f2aae725 Pasha Tatashin 2025-12-18 275 }
cab056f2aae725 Pasha Tatashin 2025-12-18 276
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki