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 <[email protected]> Signed-off-by: Fenghua Yu <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent ac803b5 commit dc901d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)