On 1/4/22 11:58 AM, Damien Le Moal wrote: > Sparse complains about an incorrect type for port_mmio pointer > variables: > > drivers/ata/ahci_xgene.c:196:41: warning: incorrect type in initializer > (different address spaces) > drivers/ata/ahci_xgene.c:196:41: expected void *port_mmio > drivers/ata/ahci_xgene.c:196:41: got void [noderef] __iomem * > > Fix this by declaring port_mmio as "void __iomem *" instead of "void *". > > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > --- > drivers/ata/ahci_xgene.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer