diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-31 12:51:52 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-02 15:22:39 -0600 |
commit | 4e178c17cac07d58df7d31ef6fe10036cfa3883d (patch) | |
tree | 36dcbbaa0e078c465202a21e1ef636fc92719501 /mm/madvise.c | |
parent | 7a6873be1b11517a0c55ab4534e4de54b3e228a3 (diff) | |
download | linux-4e178c17cac07d58df7d31ef6fe10036cfa3883d.tar.bz2 |
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 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions