OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea941ac
)
dmaengine: idxd: fix delta_rec and crc size field for completion record
author
Dave Jiang
<dave.jiang@intel.com>
Mon, 22 Mar 2021 23:36:25 +0000
(16:36 -0700)
committer
Vinod Koul
<vkoul@kernel.org>
Mon, 12 Apr 2021 07:56:03 +0000
(13:26 +0530)
The delta_rec_size and crc_val in the completion record should
be 32bits and not 16bits.
Fixes:
bfe1d56091c1
("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>
include/uapi/linux/idxd.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/idxd.h
b/include/uapi/linux/idxd.h
index
236d437
..
e33997b
100644
(file)
--- a/
include/uapi/linux/idxd.h
+++ b/
include/uapi/linux/idxd.h
@@
-247,8
+247,8
@@
struct dsa_completion_record {
uint32_t rsvd2:8;
};
- uint
16
_t delta_rec_size;
- uint
16
_t crc_val;
+ uint
32
_t delta_rec_size;
+ uint
32
_t crc_val;
/* DIF check & strip */
struct {