* [openeuler:OLK-6.6 3075/3075] drivers/ub/ubus/sysfs.c:395:5: warning: no previous prototype for function 'ub_create_sysfs_dev_files'
@ 2025-11-07 18:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-07 18:10 UTC (permalink / raw)
To: kernel, Jianquan Lin; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 66984acf4b16f28a2cc0d5d6186b4b6bbfd92e26
commit: 9039065cf6d07af72879991553397629d8bd4e92 [3075/3075] ub:ubus: Adding a ue Creation Destruction Mechanism
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251108/202511080120.CzSyQkhc-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/20251108/202511080120.CzSyQkhc-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/202511080120.CzSyQkhc-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ub/ubus/sysfs.c:395:5: warning: no previous prototype for function 'ub_create_sysfs_dev_files' [-Wmissing-prototypes]
395 | int ub_create_sysfs_dev_files(struct ub_entity *uent)
| ^
drivers/ub/ubus/sysfs.c:395:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
395 | int ub_create_sysfs_dev_files(struct ub_entity *uent)
| ^
| static
>> drivers/ub/ubus/sysfs.c:406:6: warning: no previous prototype for function 'ub_remove_sysfs_ent_files' [-Wmissing-prototypes]
406 | void ub_remove_sysfs_ent_files(struct ub_entity *uent)
| ^
drivers/ub/ubus/sysfs.c:406:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
406 | void ub_remove_sysfs_ent_files(struct ub_entity *uent)
| ^
| static
2 warnings generated.
vim +/ub_create_sysfs_dev_files +395 drivers/ub/ubus/sysfs.c
394
> 395 int ub_create_sysfs_dev_files(struct ub_entity *uent)
396 {
397 int retval;
398
399 retval = ub_create_capabilities_sysfs(uent);
400 if (retval)
401 return retval;
402
403 return 0;
404 }
405
> 406 void ub_remove_sysfs_ent_files(struct ub_entity *uent)
--
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-11-07 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07 18:10 [openeuler:OLK-6.6 3075/3075] drivers/ub/ubus/sysfs.c:395:5: warning: no previous prototype for function 'ub_create_sysfs_dev_files' 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.