summaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2021-10-25 19:16:54 +0200
committerChristoph Hellwig <hch@lst.de>2021-10-27 07:58:26 +0200
commite790de54e94a7a15fb725b34724d41d41cbaa60c (patch)
treed7df9a09a623ef1220653f61a8d2aff57e460b8f /fs/fcntl.c
parentnvme-tcp: fix data digest pointer calculation (diff)
downloadlinux-e790de54e94a7a15fb725b34724d41d41cbaa60c.tar.xz
linux-e790de54e94a7a15fb725b34724d41d41cbaa60c.zip
nvmet-tcp: fix data digest pointer calculation
exp_ddgst is of type __le32, &cmd->exp_ddgst + cmd->offset increases &cmd->exp_ddgst by 4 * cmd->offset, fix this by type casting &cmd->exp_ddgst to u8 *. Fixes: 872d26a391da ("nvmet-tcp: add NVMe over TCP target driver") Signed-off-by: Varun Prakash <varun@chelsio.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions