dmaengine: idxd: Fix crc_val field for completion record
Subsystems (2)
PATCH 1/1 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]>
--- include/uapi/linux/idxd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/idxd.h +1 -1
@@ -329,7 +329,7 @@ struct dsa_completion_record { };uint32_t delta_rec_size; -uint32_t crc_val; +uint64_t crc_val;/* DIF check & strip */ struct {
Signature · 1 line
2.32.0
Quoted 6 lines · Fenghua Yu
The
crc_valin 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]>
Quoted 17 lines
--- include/uapi/linux/idxd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/linux/idxd.h +1
-1@@ -329,7 +329,7 @@ struct dsa_completion_record { };uint32_t delta_rec_size; -uint32_t crc_val; +uint64_t crc_val;/* DIF check & strip */ struct {
Vinod Koul
maintainerQuoted 4 lines · Fenghua Yu
The
crc_valin 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")
Please no empty line after the fixes tag!
Applied after removing the empty line, thanks
Quoted 21 lines
Reported-by Nirav N Shah <[email protected]>Signed-off-by Fenghua Yu <[email protected]>--- include/uapi/linux/idxd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/linux/idxd.h +1
-1@@ -329,7 +329,7 @@ struct dsa_completion_record { };uint32_t delta_rec_size; -uint32_t crc_val; +uint64_t crc_val;/* DIF check & strip */ struct {Signature · 1 line
2.32.0
Signature · 1 line
~Vinod