Skip to content

Commit 4ac823e

Browse files
davejiangvinodkoul
authored andcommitted
dmaengine: idxd: fix delta_rec and crc size field for completion record
The delta_rec_size and crc_val in the completion record should be 32bits and not 16bits. Fixes: bfe1d56 ("dmaengine: idxd: Init and probe for Intel data accelerators") Reported-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/161645618572.2003490.14466173451736323035.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent ea941ac commit 4ac823e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/uapi/linux/idxd.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ struct dsa_completion_record {
247247
uint32_t rsvd2:8;
248248
};
249249

250-
uint16_t delta_rec_size;
251-
uint16_t crc_val;
250+
uint32_t delta_rec_size;
251+
uint32_t crc_val;
252252

253253
/* DIF check & strip */
254254
struct {

0 commit comments

Comments
 (0)