OpenCloudOS-Kernel/drivers/cdrom
Kees Cook 4e178c17ca 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>
2018-08-02 15:22:39 -06:00
..
Makefile Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block 2017-11-14 15:32:19 -08:00
cdrom.c cdrom: Use struct scsi_sense_hdr internally 2018-08-02 15:22:39 -06:00
gdrom.c cdrom: do not call check_disk_change() inside cdrom_open() 2018-03-09 08:06:35 -07:00