diff mbox series

[RESEND,08/10] dmaengine: idxd: idxd_desc.id is now a u16

Message ID 20220201203813.3951461-9-benjamin.walker@intel.com (mailing list archive)
State Superseded
Headers show
Series Support polling for out of order completions | expand

Commit Message

Ben Walker Feb. 1, 2022, 8:38 p.m. UTC
This is going to be packed into the cookie. It does not need to be
negative or larger than u16.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
---
 drivers/dma/idxd/idxd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h
index c53835584406a..b95299b723518 100644
--- a/drivers/dma/idxd/idxd.h
+++ b/drivers/dma/idxd/idxd.h
@@ -328,7 +328,7 @@  struct idxd_desc {
 	struct dma_async_tx_descriptor txd;
 	struct llist_node llnode;
 	struct list_head list;
-	int id;
+	u16 id;
 	int cpu;
 	struct idxd_wq *wq;
 };