* [weiny2:cxl-cper-2023-12-13 8/9] include/linux/cxl-event.h:150:1: warning: no return statement in function returning non-void
@ 2023-12-14 13:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-14 13:02 UTC (permalink / raw)
To: Ira Weiny; +Cc: oe-kbuild-all
tree: https://github.com/weiny2/linux-kernel.git cxl-cper-2023-12-13
head: effd1d38713375ee60e89f1bef31eea1ba668304
commit: 3394ce85e912b328886077c5a439c65284767bb8 [8/9] firmware/efi: Process CXL Component Events
config: i386-buildonly-randconfig-002-20231214 (https://download.01.org/0day-ci/archive/20231214/202312142024.rUckz0qc-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312142024.rUckz0qc-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312142024.rUckz0qc-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/cxl/cxlmem.h:9,
from drivers/cxl/core/pmem.c:6:
include/linux/cxl-event.h: In function 'cxl_cper_register_notifier':
>> include/linux/cxl-event.h:150:1: warning: no return statement in function returning non-void [-Wreturn-type]
150 | static inline int cxl_cper_register_notifier(cxl_cper_notifier notifier) { }
| ^~~~~~
include/linux/cxl-event.h: In function 'cxl_cper_unregister_notifier':
include/linux/cxl-event.h:151:1: warning: no return statement in function returning non-void [-Wreturn-type]
151 | static inline int cxl_cper_unregister_notifier(cxl_cper_notifier notifier) { }
| ^~~~~~
vim +150 include/linux/cxl-event.h
142
143 typedef void (*cxl_cper_notifier)(enum cxl_event_type type,
144 struct cxl_cper_event_rec *rec);
145
146 #ifdef CONFIG_UEFI_CPER
147 int cxl_cper_register_notifier(cxl_cper_notifier notifier);
148 int cxl_cper_unregister_notifier(cxl_cper_notifier notifier);
149 #else
> 150 static inline int cxl_cper_register_notifier(cxl_cper_notifier notifier) { }
151 static inline int cxl_cper_unregister_notifier(cxl_cper_notifier notifier) { }
152 #endif
153
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-14 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 13:02 [weiny2:cxl-cper-2023-12-13 8/9] include/linux/cxl-event.h:150:1: warning: no return statement in function returning non-void kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.