projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_mr.c
b/drivers/scsi/qla2xxx/qla_mr.c
index eb9be2efe65be139465687b2c65abcc5b6c8a63a..3fdf844eb7cdeae965995d74b410a85acfacbbb4 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();
}