[openeuler:OLK-6.6 2411/2411] drivers/irqchip/irq-gic-v3.c:1541:6: warning: no previous prototype for function 'gic_get_ipiv_status'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: c02455c4cce8052f74fc11c09e9073c01c7f33a4 commit: 4c1b2c9b61b21a0183f345eb7076db7ac054ae6c [2411/2411] KVM: arm64: check if IPIV is enabled in BIOS config: arm64-randconfig-004-20250618 (https://download.01.org/0day-ci/archive/20250618/202506181950.B2Y9buyH-lkp@i...) compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250618/202506181950.B2Y9buyH-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/202506181950.B2Y9buyH-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/irqchip/irq-gic-v3.c:1524:6: warning: no previous prototype for function 'gic_dist_enable_ipiv' [-Wmissing-prototypes] void gic_dist_enable_ipiv(void) ^ drivers/irqchip/irq-gic-v3.c:1524:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void gic_dist_enable_ipiv(void) ^ static
drivers/irqchip/irq-gic-v3.c:1541:6: warning: no previous prototype for function 'gic_get_ipiv_status' [-Wmissing-prototypes] bool gic_get_ipiv_status(void) ^ drivers/irqchip/irq-gic-v3.c:1541:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool gic_get_ipiv_status(void) ^ static 2 warnings generated.
vim +/gic_get_ipiv_status +1541 drivers/irqchip/irq-gic-v3.c 1540
1541 bool gic_get_ipiv_status(void) 1542 { 1543 u32 val; 1544 1545 val = readl_relaxed(gic_data.dist_base + GICD_MISC_CTRL); 1546 if (val & GICD_MISC_CTRL_CFG_IPIV_EN) 1547 return true; 1548 1549 return false; 1550 } 1551 EXPORT_SYMBOL(gic_get_ipiv_status); 1552 #endif /* CONFIG_ARM64_HISI_IPIV */ 1553
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot