[PATCH] nvme-tcp: fix data digest pointer calculation
Christoph Hellwig
hch at lst.de
Tue Oct 26 22:57:35 PDT 2021
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 at chelsio.com>
Same here.
More information about the Linux-nvme
mailing list