[openeuler:OLK-6.6 3541/3541] drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for function 'gic_irq_set_prio'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: f0f9be237c2266d30fa01c294577438a2e2ee749 [3541/3541] gic: increase the arch_timer priority to avoid hardlockup config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512121353.WEzcRxTR-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project ecaf673850beb241957352bd61e95ed34256635f) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121353.WEzcRxTR-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/202512121353.WEzcRxTR-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from <built-in>:3: In file included from ././include/linux/compiler_types.h:150: ./include/linux/compiler-clang.h:33:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 33 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:367:9: note: previous definition is here 367 | #define __SANITIZE_ADDRESS__ 1 | ^
drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for function 'gic_irq_set_prio' [-Wmissing-prototypes] 561 | void gic_irq_set_prio(struct irq_data *d, u8 prio) | ^ drivers/irqchip/irq-gic-v3.c:561:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 561 | void gic_irq_set_prio(struct irq_data *d, u8 prio) | ^ | static drivers/irqchip/irq-gic-v3.c:1531:6: warning: no previous prototype for function 'gic_dist_enable_ipiv' [-Wmissing-prototypes] 1531 | void gic_dist_enable_ipiv(void) | ^ drivers/irqchip/irq-gic-v3.c:1531:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1531 | void gic_dist_enable_ipiv(void) | ^ | static drivers/irqchip/irq-gic-v3.c:1548:6: warning: no previous prototype for function 'gic_get_ipiv_status' [-Wmissing-prototypes] 1548 | bool gic_get_ipiv_status(void) | ^ drivers/irqchip/irq-gic-v3.c:1548:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1548 | bool gic_get_ipiv_status(void) | ^ | static 4 warnings generated.
vim +/gic_irq_set_prio +561 drivers/irqchip/irq-gic-v3.c 560
561 void gic_irq_set_prio(struct irq_data *d, u8 prio) 562 { 563 void __iomem *base = gic_dist_base(d); 564 u32 offset, index; 565 566 offset = convert_offset_index(d, GICD_IPRIORITYR, &index); 567 568 writeb_relaxed(prio, base + offset + index); 569 } 570
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot