diff options
author | Christoph Hellwig <hch@lst.de> | 2020-10-08 22:06:10 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-08 16:23:09 -0400 |
commit | 9120ac54cce6c37de7580d7567119d28c8988ebc (patch) | |
tree | 3861568beb905fb1854ff31d36281db687253d95 /Documentation | |
parent | c881fb5cd5ffc407f78878cc43ce13699946844d (diff) | |
download | linux-9120ac54cce6c37de7580d7567119d28c8988ebc.tar.gz linux-9120ac54cce6c37de7580d7567119d28c8988ebc.tar.bz2 linux-9120ac54cce6c37de7580d7567119d28c8988ebc.zip |
scsi: sr: Initialize ->cmd_len
Ensure the command length is properly set. Previously the command code
tried to find this out using the command opcode.
Link: https://lore.kernel.org/r/20201008200611.1818099-2-hch@lst.de
Fixes: 2ceda20f0a99 ("scsi: core: Move command size detection out of the fast path")
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 'Documentation')
0 files changed, 0 insertions, 0 deletions