diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-06-14 11:14:09 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-19 22:02:25 -0400 |
commit | ba80917d9932da022d2e74eae66e44139dd65136 (patch) | |
tree | 5e5073293127e320e6f722d09183ff853b4c8132 /block/blk-tag.c | |
parent | 5b9d397447f8c03843198b573d7cecf8893523fb (diff) | |
download | linux-ba80917d9932da022d2e74eae66e44139dd65136.tar.bz2 |
scsi: ufs: ufshcd_dump_regs to use memcpy_fromio
ufshcd_dump_regs should use memcpy_fromio to read host registers
instead of directly accessing using memcpy. The same function is
utilized in ufs-qcom.
Elminite compilation warning
drivers/scsi/ufs/ufshcd.c:356:9: warning: incorrect type in argument 6 (different address spaces)
drivers/scsi/ufs/ufshcd.c:356:9: expected void const *buf
drivers/scsi/ufs/ufshcd.c:356:9: got void [noderef] <asn:2>*mmio_base
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/blk-tag.c')
0 files changed, 0 insertions, 0 deletions