From a81a59cd66a057efda4c3d5cea2d5c421a0372ff Mon Sep 17 00:00:00 2001 From: Evelyn Tsai Date: Thu, 3 Aug 2023 06:59:29 +0800 Subject: [PATCH 1/5] mac80211: mtk: avoid kernel warning of check_flush_dependency --- net/mac80211/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 769071a..740372f 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -1204,7 +1204,7 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) hw->queues = IEEE80211_MAX_QUEUES; local->workqueue = - alloc_ordered_workqueue("%s", 0, wiphy_name(local->hw.wiphy)); + alloc_ordered_workqueue("%s", WQ_MEM_RECLAIM, wiphy_name(local->hw.wiphy)); if (!local->workqueue) { result = -ENOMEM; goto fail_workqueue; -- 2.18.0