OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a9ff3
)
qla2xxx: IOCB data should be copied to I/O mem using memcpy_toio.
author
Atul Deshmukh
<atul.deshmukh@qlogic.com>
Fri, 11 Apr 2014 20:54:30 +0000
(16:54 -0400)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 19 May 2014 11:31:03 +0000
(13:31 +0200)
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>
drivers/scsi/qla2xxx/qla_mr.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_mr.c
b/drivers/scsi/qla2xxx/qla_mr.c
index
eb9be2e
..
3fdf844
100644
(file)
--- 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();
}