diff options
| author | Fenghua Yu <[email protected]> | 2022-11-10 17:27:15 -0800 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-11-14 03:56:37 +0530 |
| commit | dc901d98b1fe6e52ab81cd3e0879379168e06daa (patch) | |
| tree | d73a1b4e84429f2f8a5683324ec4e7ed17c32ee9 /include/uapi/linux | |
| parent | ac803b56860f6506c55a3c9330007837e3f4edda (diff) | |
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: 4ac823e9cd85 ("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]>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/idxd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h index 2b9e7feba3f3..1d553bedbdb5 100644 --- a/include/uapi/linux/idxd.h +++ b/include/uapi/linux/idxd.h @@ -295,7 +295,7 @@ struct dsa_completion_record { }; uint32_t delta_rec_size; - uint32_t crc_val; + uint64_t crc_val; /* DIF check & strip */ struct { |