Skip to content

Commit dc901d9

Browse files
Fenghua Yuvinodkoul
authored andcommitted
dmaengine: idxd: Fix crc_val field for completion record
The crc_val in the completion record should be 64 bits and not 32 bits. Fixes: 4ac823e ("dmaengine: idxd: fix delta_rec and crc size field for completion record") Reported-by: Nirav N Shah <nirav.n.shah@intel.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20221111012715.2031481-1-fenghua.yu@intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent ac803b5 commit dc901d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/idxd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ struct dsa_completion_record {
295295
};
296296

297297
uint32_t delta_rec_size;
298-
uint32_t crc_val;
298+
uint64_t crc_val;
299299

300300
/* DIF check & strip */
301301
struct {

0 commit comments

Comments
 (0)