Home
last modified time | relevance | path

Searched hist:"2 bce69072a0db6c3444650023c6f35bfd7a23d29" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dahci_xgene.cdiff 2bce69072a0db6c3444650023c6f35bfd7a23d29 Tue Jan 04 02:49:54 CST 2022 Damien Le Moal <damien.lemoal@opensource.wdc.com> ata: ahci_xgene: use correct type for port mmio address

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@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>