From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D17A239FCCA; Fri, 12 Jun 2026 06:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.169.211.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781244416; cv=none; b=pCZ0b1gYCSEXeUXqgXIrtJ7OgnXlIpnYXXxmdITxbJvXhNlVXT0dtr3eOgQg836ACjZvbjV8QNfeOskZ2PipkXzo3c9ZeR268MfE9ugaekU1T8QDoMN3fpgMaCb765xXRHGAj+NU9v01bWTVsYhPLIcQ4dc2au06lHAARQegqbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781244416; c=relaxed/simple; bh=iszKkz3JgLlRe0sP3qPT2UGfqGVBejQNnEjJt/kZepY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tIruZqsGpSM1pp74ZrYFUlFKs9Kq0tq9+DupbyTFnY3u5Tt+AtXFAgOafi7x9X+ei9z2P7Kqfc47z94s+FfE3tKJqwAiO+PkTcXmLn6MFaWtjsnS0uvtGtstvbxq3wx91i8jArsaqj0I9q78glNNXSbT6fR7D/zhxDbSJJu1Yuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=hwYcQ8Zu; arc=none smtp.client-ip=18.169.211.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="hwYcQ8Zu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1781244361; bh=QJoWXZpcV5a9/t2+tGRRv6L7y8JgmT2jrErNwbztDW8=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=hwYcQ8ZuAi4YXqTWWeId+DPW/Ojum73QUhsHtKzLqn0YulKCKMqCc6uI+DuCxAa+s n61FXrEk/pOhgm+ZB1ePlgIm/8q6jk+qWoxOrCOuSTmcd8dkzyGlL5BFBYkps9D0W8 XKo+1ItUuCjT3m1dN/I0Od+mDamEzR5cYjlrPuSM= X-QQ-mid: zesmtpgz4t1781244342t5aa2ed07 X-QQ-Originating-IP: VNBj1aTnkDnzoT7DCa88i1WN7TVbLF5CR6W9vAx9ngI= Received: from localhost.localdomain ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 12 Jun 2026 14:05:39 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 9832015854964275207 EX-QQ-RecipientCnt: 10 From: wuyankun To: linux-wireless@vger.kernel.org Cc: penguin-kernel@i-love.sakura.ne.jp, jeff.johnson@oss.qualcomm.com, johan@kernel.org, kees@kernel.org, linux-kernel@vger.kernel.org, sumanth.gavini@yahoo.com, syzbot+f80c62f371ba6a1e7d79@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com, wuyankun@uniontech.com Subject: [PATCH v2] wifi: ath6kl: fix invalid workqueue flags in ath6kl_usb_create() Date: Fri, 12 Jun 2026 14:05:36 +0800 Message-Id: <20260612060536.247232-1-wuyankun@uniontech.com> X-Mailer: git-send-email 2.20.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpgz:uniontech.com:qybglogicsvrgz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UPIxBkv GbDDnTLRs2/nf3/I+czmOV0RDVLj1DtfEWxvAFnShE10/FdDrt2ykhqyXCfGW2Tz17it9pc lN+8a7yugI1U0xd5wL6xDjqEbt4p0moLf04015VcdPY X-QQ-XMRINFO: M/715EihBoGS47X28/vv4NpnfpeBLnr4Qg== X-QQ-RECHKSPAM: 0 ath6kl_usb_create() currently creates ath6kl_wq with flags set to 0: alloc_workqueue("ath6kl_wq", 0, 0) This triggers a runtime warning in __alloc_workqueue() because the queue is created with neither WQ_PERCPU nor WQ_UNBOUND set: workqueue: ath6kl_wq is using neither WQ_PERCPU or WQ_UNBOUND. Setting WQ_PERCPU. Set WQ_PERCPU explicitly to match the actual execution model and remove the warning during device probe. No functional change intended. Fixes: 21c05ca88a54 ("workqueue: Add warnings and ensure one among WQ_PERCPU or WQ_UNBOUND is present") Reported-by: syzbot+f80c62f371ba6a1e7d79@syzkaller.appspotmail.com Link: https://lore.kernel.org/all/6a289c01.39669fcc.33b062.00aa.GAE@google.com/T/ Signed-off-by: wuyankun --- drivers/net/wireless/ath/ath6kl/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c index 79c18f5ee02b..945984c3dbe6 100644 --- a/drivers/net/wireless/ath/ath6kl/usb.c +++ b/drivers/net/wireless/ath/ath6kl/usb.c @@ -636,7 +636,7 @@ static struct ath6kl_usb *ath6kl_usb_create(struct usb_interface *interface) ar_usb = kzalloc_obj(struct ath6kl_usb); if (ar_usb == NULL) return NULL; - ar_usb->wq = alloc_workqueue("ath6kl_wq", 0, 0); + ar_usb->wq = alloc_workqueue("ath6kl_wq", WQ_PERCPU, 0); if (!ar_usb->wq) { kfree(ar_usb); return NULL; -- 2.20.1