On Thu, Feb 10, 2022 at 08:42:06PM +0900, Damien Le Moal wrote: > +++ b/drivers/scsi/pm8001/pm80xx_hwi.c > @@ -71,14 +71,13 @@ static void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, > u32 dw_count, u32 bus_base_number) > { > u32 index, value, offset; > - u32 *destination1; > - destination1 = (u32 *)destination; > + __le32 *destination1 = (__le32 *)destination; I think the right fix here is to declare the destination argument as a le32 pointer without the incorrect const attribute.