Re: [PATCH v2 6/9] ide-cd: Remove redundant sense buffer

From: Christoph Hellwig
Date: Wed Aug 01 2018 - 04:23:50 EST


On Tue, Jul 31, 2018 at 12:51:51PM -0700, Kees Cook wrote:
> This is already able to process the sense buffer, so remove the redundant
> parsing during the failure path. 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>