projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab53749
)
dmaengine: idxd: Fix crc_val field for completion record
author
Fenghua Yu
<fenghua.yu@intel.com>
Fri, 11 Nov 2022 01:27:15 +0000
(17:27 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:34 +0000
(13:14 +0100)
[ Upstream commit
dc901d98b1fe6e52ab81cd3e0879379168e06daa
]
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 <nirav.n.shah@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link:
https://lore.kernel.org/r/20221111012715.2031481-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@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 c750eac09fc9c446d6abcc60bde63253818e11c8..f7c01709cb0ff84c672b5ded43a904ed7b239b59 100644
(file)
--- a/
include/uapi/linux/idxd.h
+++ b/
include/uapi/linux/idxd.h
@@
-272,7
+272,7
@@
struct dsa_completion_record {
};
uint32_t delta_rec_size;
- uint
32
_t crc_val;
+ uint
64
_t crc_val;
/* DIF check & strip */
struct {