[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221028204812.1772736-6-benjamin.walker@intel.com>
Date: Fri, 28 Oct 2022 13:48:10 -0700
From: Ben Walker <benjamin.walker@...el.com>
To: vkoul@...nel.org
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
Dave Jiang <dave.jiang@...el.com>
Subject: [PATCH v6 5/7] 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.
Signed-off-by: Ben Walker <benjamin.walker@...el.com>
Reviewed-by: Dave Jiang <dave.jiang@...el.com>
---
drivers/dma/idxd/idxd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h
index 1196ab342f011..d9096dfb27422 100644
--- a/drivers/dma/idxd/idxd.h
+++ b/drivers/dma/idxd/idxd.h
@@ -333,7 +333,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;
};
--
2.37.3
Powered by blists - more mailing lists