* [openeuler:OLK-6.6 3075/3075] drivers/ub/ubus/ubus_driver.c:64:27: warning: no previous prototype for function 'ub_find_bus_controller'
@ 2025-10-31 16:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-31 16:00 UTC (permalink / raw)
To: kernel, Jianquan Lin; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 6a5b2f9a14178b13fe5efc52ba6575f5294c1270
commit: 26a640c9d1b1f7764bd933b7bf6ffca8ddbc6efd [3075/3075] ub:ubus: add ubus controller framework
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251031/202510312355.LNPDosJ5-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251031/202510312355.LNPDosJ5-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/202510312355.LNPDosJ5-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ub/ubus/ubus_driver.c:64:27: warning: no previous prototype for function 'ub_find_bus_controller' [-Wmissing-prototypes]
64 | struct ub_bus_controller *ub_find_bus_controller(u32 ctl_no)
| ^
drivers/ub/ubus/ubus_driver.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
64 | struct ub_bus_controller *ub_find_bus_controller(u32 ctl_no)
| ^
| static
drivers/ub/ubus/ubus_driver.c:154:28: warning: no previous prototype for function 'ub_match_id' [-Wmissing-prototypes]
154 | const struct ub_device_id *ub_match_id(const struct ub_device_id *ids,
| ^
drivers/ub/ubus/ubus_driver.c:154:7: note: declare 'static' if the function is not intended to be used outside of this translation unit
154 | const struct ub_device_id *ub_match_id(const struct ub_device_id *ids,
| ^
| static
drivers/ub/ubus/ubus_driver.c:484:6: warning: no previous prototype for function 'ub_bus_type_init' [-Wmissing-prototypes]
484 | void ub_bus_type_init(void)
| ^
drivers/ub/ubus/ubus_driver.c:484:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
484 | void ub_bus_type_init(void)
| ^
| static
drivers/ub/ubus/ubus_driver.c:496:6: warning: no previous prototype for function 'ub_bus_type_uninit' [-Wmissing-prototypes]
496 | void ub_bus_type_uninit(void)
| ^
drivers/ub/ubus/ubus_driver.c:496:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
496 | void ub_bus_type_uninit(void)
| ^
| static
4 warnings generated.
vim +/ub_find_bus_controller +64 drivers/ub/ubus/ubus_driver.c
63
> 64 struct ub_bus_controller *ub_find_bus_controller(u32 ctl_no)
65 {
66 struct ub_bus_controller *ubc;
67
68 list_for_each_entry(ubc, &ubc_list, node)
69 if (ubc->ctl_no == ctl_no)
70 return ubc;
71
72 return NULL;
73 }
74 EXPORT_SYMBOL_GPL(ub_find_bus_controller);
75
--
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:[~2025-10-31 16:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 16:00 [openeuler:OLK-6.6 3075/3075] drivers/ub/ubus/ubus_driver.c:64:27: warning: no previous prototype for function 'ub_find_bus_controller' 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.