linux_dsm_epyc7002/drivers/pci/host
Arnd Bergmann abc596b9a2 PCI: xilinx: Fix harmless format string warning
The xilinx PCIe driver prints a register value whose type is propagated to
the type returned by the GENMASK() macro.  Unfortunately, that type has
recently changed as the result of a bug fix, so now we get a warning about
the type:

  drivers/pci/host/pcie-xilinx.c: In function 'xilinx_pcie_clear_err_interrupts':
  drivers/pci/host/pcie-xilinx.c:154:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]

Change the code so we always print the number as an 'unsigned long' type to
avoid the warning.  The original code was fine on 32-bit architectures but
not on 64-bit.  Now it works as expected on both.

Fixes: 00b4d9a141 ("bitops: Fix shift overflow in GENMASK macros")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
2015-01-23 15:35:40 -06:00
..
Kconfig Merge branches 'pci/host-designware', 'pci/host-dra7xx', 'pci/host-exynos', 'pci/host-generic', 'pci/host-imx6', 'pci/host-keystone', 'pci/host-layerscape', 'pci/host-mvebu', 'pci/host-rcar', 'pci/host-spear' and 'pci/host-tegra' into next 2014-11-15 07:26:12 -07:00
Makefile PCI: layerscape: Add Freescale Layerscape PCIe driver 2014-11-13 09:31:52 -07:00
pci-dra7xx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-exynos.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-host-generic.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-imx6.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-keystone-dw.c PCI changes for the v3.19 merge window: 2014-12-10 20:58:52 -08:00
pci-keystone.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-keystone.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pci-layerscape.c PCI: layerscape: Add Freescale Layerscape PCIe driver 2014-11-13 09:31:52 -07:00
pci-mvebu.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-rcar-gen2.c pci: host: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
pci-tegra.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-xgene.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pcie-designware.c PCI changes for the v3.19 merge window: 2014-12-10 20:58:52 -08:00
pcie-designware.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pcie-rcar.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pcie-spear13xx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pcie-xilinx.c PCI: xilinx: Fix harmless format string warning 2015-01-23 15:35:40 -06:00