Re: [PATCH v2 7/9] cdrom: Use struct scsi_sense_hdr internally
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-08-01 08:24:29
Also in:
linux-ide, linux-scsi, lkml, target-devel
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-08-01 08:24:29
Also in:
linux-ide, linux-scsi, lkml, target-devel
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 <redacted>
Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>