Re: [PATCH v2 7/9] cdrom: Use struct scsi_sense_hdr internally

From: Christoph Hellwig
Date: Wed Aug 01 2018 - 04:24:29 EST


On Tue, Jul 31, 2018 at 12:51:52PM -0700, Kees Cook wrote:
> 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.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>