diff options
| author | Christoph Hellwig <[email protected]> | 2020-10-08 22:06:10 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-10-08 16:23:09 -0400 |
| commit | 9120ac54cce6c37de7580d7567119d28c8988ebc (patch) | |
| tree | 3861568beb905fb1854ff31d36281db687253d95 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | c881fb5cd5ffc407f78878cc43ce13699946844d (diff) | |
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/[email protected]
Fixes: 2ceda20f0a99 ("scsi: core: Move command size detection out of the fast path")
Reported-by: Qian Cai <[email protected]>
Reported-by: Naresh Kamboju <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions