diff options
author | 2020-10-08 22:06:11 +0200 | |
---|---|---|
committer | 2020-10-08 16:23:09 -0400 | |
commit | b6ba9b0e201a1c36972143366a3c22e672c43a61 (patch) | |
tree | 7595b673110e45a9cb25b609b243c5a2ca8d5e2f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: sr: Initialize ->cmd_len (diff) | |
download | wireguard-linux-b6ba9b0e201a1c36972143366a3c22e672c43a61.tar.xz wireguard-linux-b6ba9b0e201a1c36972143366a3c22e672c43a61.zip |
scsi: core: Set sc_data_direction to DMA_NONE for no-transfer commands
No having the special DMA_NONE logic makes libata rather unhappy.
Link: https://lore.kernel.org/r/20201008200611.1818099-3-hch@lst.de
Fixes: 40b93836a136 ("scsi: core: Use rq_dma_dir in scsi_setup_cmnd()")
Reported-by: Qian Cai <cai@redhat.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions