Hi Chen, kernel test robot noticed the following build warnings: [auto build test WARNING on 2d5404caa8c7bb5c4e0435f94b28834ae5456623] url: https://github.com/intel-lab-lkp/linux/commits/Chen-Wang/dt-bindings-pci-Add-Sophgo-SG2042-PCIe-host/20241111-140237 base: 2d5404caa8c7bb5c4e0435f94b28834ae5456623 patch link: https://lore.kernel.org/r/5051f2375ff6218e7d44ce0c298efd5f9ee56964.1731303328.git.unicorn_wang%40outlook.com patch subject: [PATCH 2/5] PCI: sg2042: Add Sophgo SG2042 PCIe driver config: um-allyesconfig (https://download.01.org/0day-ci/archive/20241111/202411111935.kqORCWuE-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241111/202411111935.kqORCWuE-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202411111935.kqORCWuE-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/pci/controller/cadence/pcie-sg2042.c:141:12: warning: 'sg2042_pcie_msi_irq_set_affinity' defined but not used [-Wunused-function] 141 | static int sg2042_pcie_msi_irq_set_affinity(struct irq_data *d, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/sg2042_pcie_msi_irq_set_affinity +141 drivers/pci/controller/cadence/pcie-sg2042.c 140 > 141 static int sg2042_pcie_msi_irq_set_affinity(struct irq_data *d, 142 const struct cpumask *mask, 143 bool force) 144 { 145 if (d->parent_data) 146 return irq_chip_set_affinity_parent(d, mask, force); 147 148 return -EINVAL; 149 } 150 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki