OSDN Git Service

wilc1000: Rename tx task from "K_TXQ_TASK" to NETDEV-tx
authorDavid Mosberger-Tang <davidm@egauge.net>
Thu, 9 Dec 2021 04:44:28 +0000 (04:44 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 14 Dec 2021 18:46:34 +0000 (20:46 +0200)
This follows normal Linux conventions and is also more useful because
the netdevice name is part of the task name (e.g., "wlan0-tx" for
network device "wlan0").

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211209044411.3482259-4-davidm@egauge.net
drivers/net/wireless/microchip/wilc1000/netdev.c

index a423095..dec550c 100644 (file)
@@ -468,7 +468,7 @@ static int wlan_initialize_threads(struct net_device *dev)
        struct wilc *wilc = vif->wilc;
 
        wilc->txq_thread = kthread_run(wilc_txq_task, (void *)wilc,
-                                      "K_TXQ_TASK");
+                                      "%s-tx", dev->name);
        if (IS_ERR(wilc->txq_thread)) {
                netdev_err(dev, "couldn't create TXQ thread\n");
                wilc->close = 0;