Re: [PATCH] nvme-tcp: fix data digest pointer calculation

Christoph Hellwig
2021-10-27T05:57:45Z

On Mon, Oct 25, 2021 at 10:47:30PM +0530, Varun Prakash wrote:
> ddgst is of type __le32, &req->ddgst + req->offset
> increases &req->ddgst by 4 * req->offset, fix this by
> type casting &req->ddgst to u8 *.
>
> Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
> Signed-off-by: Varun Prakash <varun@chelsio.com>

Same here.