Skip to content

Commit 1a0c02b

Browse files
davejiangvinodkoul
authored andcommitted
dmaengine: idxd: add missing invalid flags field to completion
Add missing "invalid flags" field to completion record struct. Reported-by: Nikhil Rao <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/159526025819.49266.13176787210106133664.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <[email protected]>
1 parent 0f9d5f0 commit 1a0c02b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/uapi/linux/idxd.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ struct dsa_completion_record {
178178
uint32_t bytes_completed;
179179
uint64_t fault_addr;
180180
union {
181+
/* common record */
182+
struct {
183+
uint32_t invalid_flags:24;
184+
uint32_t rsvd2:8;
185+
};
186+
181187
uint16_t delta_rec_size;
182188
uint16_t crc_val;
183189

0 commit comments

Comments
 (0)