[PATCH 10/53] net: mvpp2: Switch to create*_workqueue2()
From: Bart Van Assche
Date: Sun Jun 30 2024 - 18:32:05 EST
Prepare for removal of the create*_workqueue() macros.
Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 9adf4301c9b1..58b104d2f24c 100644
--- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
+++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
@@ -7635,7 +7635,8 @@ static int mvpp2_probe(struct platform_device *pdev)
snprintf(priv->queue_name, sizeof(priv->queue_name),
"stats-wq-%s%s", netdev_name(priv->port_list[0]->dev),
priv->port_count > 1 ? "+" : "");
- priv->stats_queue = create_singlethread_workqueue(priv->queue_name);
+ priv->stats_queue =
+ create_singlethread_workqueue2("%s", priv->queue_name);
if (!priv->stats_queue) {
err = -ENOMEM;
goto err_port_probe;