diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-31 21:51:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-02 23:22:39 +0200 |
commit | 4e178c17cac07d58df7d31ef6fe10036cfa3883d (patch) | |
tree | 36dcbbaa0e078c465202a21e1ef636fc92719501 /drivers/ata/libata-scsi.c | |
parent | ide-cd: Remove redundant sense buffer (diff) | |
download | linux-4e178c17cac07d58df7d31ef6fe10036cfa3883d.tar.xz linux-4e178c17cac07d58df7d31ef6fe10036cfa3883d.zip |
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/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions