cxl: Fix sparse warnings
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Fri, 22 Jul 2016 09:01:36 +0000 (19:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Aug 2016 06:52:02 +0000 (16:52 +1000)
commit6fd40f192a9dba391b2d84882f1ed3169c52b714
tree5e294c5e8d593032df52999216c2250f86bd296c
parent164793379ad3b7ef5fc5a28260c111358892dff3
cxl: Fix sparse warnings

Make native_irq_wait() static and use NULL rather than 0 to initialise
phb->cfg_data in cxl_pci_vphb_add() to remove sparse warnings.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/native.c
drivers/misc/cxl/vphb.c