diff options
author | Atul Deshmukh <atul.deshmukh@qlogic.com> | 2014-04-11 16:54:30 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 13:31:03 +0200 |
commit | f79a84bfafa53c5ff5acb1b1099b7223ab7c5fba (patch) | |
tree | 9ca5e19c8bbd1cb9a0d56e742c5f9f7896612b33 /drivers/scsi/qla2xxx/qla_mr.c | |
parent | 50a9ff301ed734f2fa95b3c38154454416d934f8 (diff) | |
download | blackbird-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/qla2xxx/qla_mr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mr.c | 2 |
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(); } |