diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-31 22:51:52 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-03 00:22:39 +0300 |
commit | 4e178c17cac07d58df7d31ef6fe10036cfa3883d (patch) | |
tree | 36dcbbaa0e078c465202a21e1ef636fc92719501 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 7a6873be1b11517a0c55ab4534e4de54b3e228a3 (diff) | |
download | linux-4e178c17cac07d58df7d31ef6fe10036cfa3883d.tar.xz |
cdrom: Use struct scsi_sense_hdr internally
This removes more casts of struct request_sense and uses the standard
struct scsi_sense_hdr instead. This also fixes any possible stale values
since the prior code did not check the sense length.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions