summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAtul Deshmukh <atul.deshmukh@qlogic.com>2014-04-11 16:54:30 -0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 13:31:03 +0200
commitf79a84bfafa53c5ff5acb1b1099b7223ab7c5fba (patch)
tree9ca5e19c8bbd1cb9a0d56e742c5f9f7896612b33 /drivers/scsi
parent50a9ff301ed734f2fa95b3c38154454416d934f8 (diff)
downloadblackbird-op-linux-f79a84bfafa53c5ff5acb1b1099b7223ab7c5fba.tar.gz
blackbird-op-linux-f79a84bfafa53c5ff5acb1b1099b7223ab7c5fba.zip
qla2xxx: IOCB data should be copied to I/O mem using memcpy_toio.
Signed-off-by: Atul Deshmukh <atul.deshmukh@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_mr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
index eb9be2efe65b..3fdf844eb7cd 100644
--- a/drivers/scsi/qla2xxx/qla_mr.c
+++ b/drivers/scsi/qla2xxx/qla_mr.c
@@ -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();
}
OpenPOWER on IntegriCloud