[PATCH 0/9] powerpc/powernv: Fix sparse warnings for PCI files
Gavin Shan
gwshan at linux.vnet.ibm.com
Tue Aug 2 14:10:28 AEST 2016
This fixes the warnings reported from sparse. With this applied, no sparse
warning seen from below files with "make C=2 CF=-D__CHECK_ENDIAN__".
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.c
Gavin Shan (9):
powerpc/powernv: Pass CPU-endian PE number to
opal_pci_eeh_freeze_clear()
powerpc/powernv: Use CPU-endian hub diag-data type in
pnv_eeh_get_and_dump_hub_diag()
powerpc/powernv: Specify proper data type for PCI_SLOT_ID_PREFIX
powerpc/powernv: Use CPU-endian PEST in pnv_pci_dump_p7ioc_diag_data()
powerpc/powernv: Fix endian for return value from pnv_tce_get()
powerpc/powernv: Pass CPU-endian argument to xchg() in pnv_tce_xchg()
powerpc/powernv: Fix data type for @r in pnv_ioda_parse_m64_window()
powerpc/powernv: Fix data type of argument to __raw_{rm_, }writeq()
powerpc/powernv: Fix data type in pnv_pci_ioda2_table_do_free_pages()
arch/powerpc/include/asm/pnv-pci.h | 2 +-
arch/powerpc/platforms/powernv/eeh-powernv.c | 4 ++--
arch/powerpc/platforms/powernv/pci-ioda.c | 25 ++++++++++++++++---------
arch/powerpc/platforms/powernv/pci.c | 10 ++++++----
4 files changed, 25 insertions(+), 16 deletions(-)
--
2.1.0
More information about the Linuxppc-dev
mailing list