tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-xilinx head: 3869791df25e649d3d05c0129cfc25cd3dea8ee7 commit: 3869791df25e649d3d05c0129cfc25cd3dea8ee7 [8/8] Speculative ... is this what other drivers do? config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 3869791df25e649d3d05c0129cfc25cd3dea8ee7 # save the attached .config to linux build tree make.cross ARCH=arm All warnings (new ones prefixed by >>): drivers/pci/host/pcie-xilinx.c: In function 'xilinx_pcie_destroy_msi': >> drivers/pci/host/pcie-xilinx.c:225:62: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'irq_hw_number_t {aka long unsigned int}' [-Wformat=] dev_err(port->dev, "Trying to free unused MSI#%d (hwirq 0x%x)\n", ^ vim +225 drivers/pci/host/pcie-xilinx.c 210 211 /** 212 * xilinx_pcie_destroy_msi - Free MSI number 213 * @irq: IRQ to be freed 214 */ 215 static void xilinx_pcie_destroy_msi(unsigned int irq) 216 { 217 struct msi_desc *msi; 218 struct xilinx_pcie_port *port; 219 struct irq_data *d = irq_get_irq_data(irq); 220 irq_hw_number_t hwirq = irqd_to_hwirq(d); 221 222 if (!test_bit(hwirq, msi_irq_in_use)) { 223 msi = irq_get_msi_desc(irq); 224 port = msi_desc_to_pci_sysdata(msi); > 225 dev_err(port->dev, "Trying to free unused MSI#%d (hwirq 0x%x)\n", 226 irq, hwirq); 227 return; 228 } 229 230 clear_bit(hwirq, msi_irq_in_use); 231 } 232 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip