Skip to contentSkip to conversation

dmaengine: idxd: idxd_desc.id is now a u16

PATCH Superseded Ben Walker 1 participant 1 message Jun 22, 2022

Subsystems (2)

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Ben Walker

author
#0 lore raw

PATCH v3 13/15 dmaengine: idxd: idxd_desc.id is now a u16

This is going to be packed into the cookie. It does not need to be negative or larger than u16.

---
 drivers/dma/idxd/idxd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/idxd/idxd.h +1 -1
index fed0dfc1eaa83..bd93ada32c89d 100644
@@ -325,7 +325,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;
 };
Signature · 1 line
2.35.1