Re: [PATCH v2 8/9] libata-scsi: Move sense buffers onto stack

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


On Tue, Jul 31, 2018 at 12:51:53PM -0700, Kees Cook wrote:
> To support future compile-time sizeof() checks that will be able to
> validate the length of sense buffers, this removes the only dynamically
> allocated sense buffers in the tree by putting the 96 byte sense buffers
> on the stack.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>