]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/mac80211/main.c
drivers: avoid format strings in names passed to alloc_workqueue()
[karo-tx-linux.git] / net / mac80211 / main.c
index 8a7bfc47d5778fd7bbc3f561ecf483996c2041e1..8eae74ac4e1ecab21b8b8e7372c18e6a5299eaf1 100644 (file)
@@ -921,7 +921,7 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
                hw->queues = IEEE80211_MAX_QUEUES;
 
        local->workqueue =
-               alloc_ordered_workqueue(wiphy_name(local->hw.wiphy), 0);
+               alloc_ordered_workqueue("%s", 0, wiphy_name(local->hw.wiphy));
        if (!local->workqueue) {
                result = -ENOMEM;
                goto fail_workqueue;