aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorVarun Prakash <[email protected]>2021-10-25 17:16:54 +0000
committerChristoph Hellwig <[email protected]>2021-10-27 05:58:26 +0000
commite790de54e94a7a15fb725b34724d41d41cbaa60c (patch)
treed7df9a09a623ef1220653f61a8d2aff57e460b8f /scripts/gcc-plugins
parentnvme-tcp: fix data digest pointer calculation (diff)
downloadkernel-e790de54e94a7a15fb725b34724d41d41cbaa60c.tar.gz
kernel-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 <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions