[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240630222904.627462-3-bvanassche@acm.org>
Date: Sun, 30 Jun 2024 15:26:20 -0700
From: Bart Van Assche <bvanassche@....org>
To: Tejun Heo <tj@...nel.org>
Cc: Lai Jiangshan <jiangshanlai@...il.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Bart Van Assche <bvanassche@....org>,
Fenghua Yu <fenghua.yu@...el.com>,
Vinod Koul <vkoul@...nel.org>
Subject: [PATCH 02/53] dmaengine: idxd: Switch to create*_workqueue2()
Prepare for removal of the create*_workqueue() macros.
Signed-off-by: Bart Van Assche <bvanassche@....org>
---
drivers/dma/idxd/cdev.c | 2 +-
drivers/dma/idxd/init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/idxd/cdev.c b/drivers/dma/idxd/cdev.c
index 57f1bf2ab20b..5aef47e5c6e4 100644
--- a/drivers/dma/idxd/cdev.c
+++ b/drivers/dma/idxd/cdev.c
@@ -619,7 +619,7 @@ static int idxd_user_drv_probe(struct idxd_dev *idxd_dev)
goto wq_err;
}
- wq->wq = create_workqueue(dev_name(wq_confdev(wq)));
+ wq->wq = create_workqueue2("%s", dev_name(wq_confdev(wq)));
if (!wq->wq) {
rc = -ENOMEM;
goto wq_err;
diff --git a/drivers/dma/idxd/init.c b/drivers/dma/idxd/init.c
index a7295943fa22..a3e821090bf2 100644
--- a/drivers/dma/idxd/init.c
+++ b/drivers/dma/idxd/init.c
@@ -397,7 +397,7 @@ static int idxd_setup_internals(struct idxd_device *idxd)
if (rc < 0)
goto err_group;
- idxd->wq = create_workqueue(dev_name(dev));
+ idxd->wq = create_workqueue2("%s", dev_name(dev));
if (!idxd->wq) {
rc = -ENOMEM;
goto err_wkq_create;
Powered by blists - more mailing lists