Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f79a84bf authored by Atul Deshmukh's avatar Atul Deshmukh Committed by Christoph Hellwig
Browse files

qla2xxx: IOCB data should be copied to I/O mem using memcpy_toio.

parent 50a9ff30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3427,7 +3427,7 @@ qlafx00_fxdisc_iocb(srb_t *sp, struct fxdisc_entry_fx00 *pfxiocb)
	    sp->fcport->vha, 0x3047,
	    (uint8_t *)&fx_iocb, sizeof(struct fxdisc_entry_fx00));

	memcpy((void *)pfxiocb, &fx_iocb,
	memcpy_toio((void __iomem *)pfxiocb, &fx_iocb,
	    sizeof(struct fxdisc_entry_fx00));
	wmb();
}