Re: mtip32xx: add a status field to struct mtip_cmd
From: Christoph Hellwig
Date: Fri Apr 21 2017 - 10:38:07 EST
On Fri, Apr 21, 2017 at 08:14:03AM -0600, Jens Axboe wrote:
> From: Jens Axboe <axboe@xxxxxx>
> Subject: [PATCH] mtip32xx: fix dereference of stack garbage
>
> We need to get the command payload from the request before
> we attempt to dereference it.
>
> Fixes: 4dda4735c581 ("mtip32xx: add a status field to struct mtip_cmd")
> Signed-off-by: Jens Axboe <axboe@xxxxxx>
Looks fine:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>