tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 5d0b95afdce7e316c8df2aac1a9d83f257e09297 commit: 3053668e6b211924bb67c19d791a5a532eca2ad8 [1546/1546] arm64: Introduce Xint software solution config: x86_64-kexec (https://download.01.org/0day-ci/archive/20241128/202411281629.stNRSuEn-lkp@i...) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411281629.stNRSuEn-lkp@i...)
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/202411281629.stNRSuEn-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/irq/proc.c:334:13: warning: no previous prototype for function 'register_irqchip_proc' [-Wmissing-prototypes]
334 | void __weak register_irqchip_proc(struct irq_desc *desc, void *irqp) { } | ^ kernel/irq/proc.c:334:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 334 | void __weak register_irqchip_proc(struct irq_desc *desc, void *irqp) { } | ^ | static
kernel/irq/proc.c:335:13: warning: no previous prototype for function 'unregister_irqchip_proc' [-Wmissing-prototypes]
335 | void __weak unregister_irqchip_proc(struct irq_desc *desc) { } | ^ kernel/irq/proc.c:335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 335 | void __weak unregister_irqchip_proc(struct irq_desc *desc) { } | ^ | static 2 warnings generated.
vim +/register_irqchip_proc +334 kernel/irq/proc.c
333
334 void __weak register_irqchip_proc(struct irq_desc *desc, void *irqp) { } 335 void __weak unregister_irqchip_proc(struct irq_desc *desc) { }
336