From patchwork Sat May 21 17:31:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 12857988 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 377ECC433F5 for ; Sat, 21 May 2022 17:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344261AbiEURcM (ORCPT ); Sat, 21 May 2022 13:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245194AbiEURcK (ORCPT ); Sat, 21 May 2022 13:32:10 -0400 Received: from p-impout002.msg.pkvw.co.charter.net (p-impout002aa.msg.pkvw.co.charter.net [47.43.26.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BB305468E for ; Sat, 21 May 2022 10:32:09 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-100e.res6.spectrum.com.com ([24.31.246.181]) by cmsmtp with ESMTP id sSxHnqW0wFl1esSxUnDBbh; Sat, 21 May 2022 17:32:09 +0000 X-Authority-Analysis: v=2.4 cv=EpDBEAQA c=1 sm=1 tr=0 ts=62892219 a=cAe/7qmlxnd6JlJqP68I9A==:117 a=cAe/7qmlxnd6JlJqP68I9A==:17 a=yQdBAQUQAAAA:8 a=_g3nijcsGpEXjt1jd1AA:9 a=SzazLyfi1tnkUD6oumHU:22 From: Larry Finger To: Kalle Valo Cc: Johannes Berg , linux-wireless@vger.kernel.org, Larry Finger , Ping-Ke Shih Subject: [PATCH v2 1/4] rtw88: Make rtw8822b_hw_spec be static Date: Sat, 21 May 2022 12:31:41 -0500 Message-Id: <20220521173144.9917-2-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220521173144.9917-1-Larry.Finger@lwfinger.net> References: <20220521173144.9917-1-Larry.Finger@lwfinger.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfCGE8qQHh3fonggzUXUenLTpSOkYaoDkLIXt7UQMdN/uO29hF6XPIFQTaHfLN+9DJ8nO2C3DmzIup0Ng/ydVTcGV/aeMYDJ6FMdUPoBMt5fN4FmhtUne fcrhk5nRwSGuysmEFUWNPavNTqZIAsuQEZN6x2axW/wj37DMoVHLcp8I3LjAt/4D8dp0KQ7fa8b8hIh+bO4nMypeVajIr0y8gRfiS7iR5bgqpA5Ko3HMuAwy QqmWxb//PbkCEYutRWBg469nUTebF5iZJ4u/wPLMkpFubzwlon8v0OzvkRxSwRfDNM2wRndWvtKtkcm2VyWPhIWxdEE//5H4aEAE6C00NA8QMIGY3DqFAE7R EW7Vp9vnDqtLR2VxylnjDe4cPSe77viuIsqoNlyblpu4GdhERX8= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sparse lists the following for rtw88: CHECK drivers/net/wireless/realtek/rtw88/rtw8822b.c drivers/net/wireless/realtek/rtw88/rtw8822b.c:2500:22: warning: symbol 'rtw8822b_hw_spec' was not declared. Should it be static? Signed-off-by: Larry Finger --- v2 - change subject as recommended by Kalle --- drivers/net/wireless/realtek/rtw88/rtw8822b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822b.c b/drivers/net/wireless/realtek/rtw88/rtw8822b.c index dccd722b8e62..60c4e75df035 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8822b.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8822b.c @@ -2497,7 +2497,7 @@ static struct rtw_hw_reg_offset rtw8822b_edcca_th[] = { [EDCCA_TH_H2L_IDX] = {{.addr = 0x8a4, .mask = MASKBYTE1}, .offset = 0}, }; -struct rtw_chip_info rtw8822b_hw_spec = { +static struct rtw_chip_info rtw8822b_hw_spec = { .ops = &rtw8822b_ops, .id = RTW_CHIP_TYPE_8822B, .fw_name = "rtw88/rtw8822b_fw.bin", From patchwork Sat May 21 17:31:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 12857989 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52C03C433F5 for ; Sat, 21 May 2022 17:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344247AbiEURcR (ORCPT ); Sat, 21 May 2022 13:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236589AbiEURcQ (ORCPT ); Sat, 21 May 2022 13:32:16 -0400 Received: from p-impout002.msg.pkvw.co.charter.net (p-impout002aa.msg.pkvw.co.charter.net [47.43.26.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9AFA5468E for ; Sat, 21 May 2022 10:32:14 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-100e.res6.spectrum.com.com ([24.31.246.181]) by cmsmtp with ESMTP id sSxHnqW0wFl1esSxZnDBcW; Sat, 21 May 2022 17:32:14 +0000 X-Authority-Analysis: v=2.4 cv=EpDBEAQA c=1 sm=1 tr=0 ts=6289221e a=cAe/7qmlxnd6JlJqP68I9A==:117 a=cAe/7qmlxnd6JlJqP68I9A==:17 a=yQdBAQUQAAAA:8 a=MrPZ0le7YmToiFjRSvwA:9 a=SzazLyfi1tnkUD6oumHU:22 From: Larry Finger To: Kalle Valo Cc: Johannes Berg , linux-wireless@vger.kernel.org, Larry Finger , Ping-Ke Shih Subject: [PATCH v2 2/4] rtw88: Make rtw8822c_hw_spec be static Date: Sat, 21 May 2022 12:31:42 -0500 Message-Id: <20220521173144.9917-3-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220521173144.9917-1-Larry.Finger@lwfinger.net> References: <20220521173144.9917-1-Larry.Finger@lwfinger.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfNIILzX9aaSShGBS3UBbmbtukIrFhJtTV1Sz8Dj9oGpguJR1FQbqcAEnduxC9TyXwB+N+Pu5vo9Ud/YZQkPn9vm+/I9iemteLxI95gytSbdeujVQ0cMd Xom5BR3KehhpGdSvS3FwrRFHFoPL1Gdk12ald5FiRw9qzIUogqREn6KyIbYqeP0c5bamPOA16GEuO7IzsQdx1VG9Epih+KGY+UPvsOVIghAa/IUGbDlHLEZM erpkhJM4W0FBq7HV9yLDC/+yCukbpq55slxi2Z0zd/zPlaZ9V/rg6QuOKuqtedR8PYgu7f2N4M3lKUvQslEt57jKFQbcSXg9265oLfwRxEsAVPwecZl+e1+p SmHJXTNhOVh+W5R/T1pgs4NHKjNqUTDfg5cGZ6cJVPp42j0GmWE= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sparse reports the following: CHECK drivers/net/wireless/realtek/rtw88/rtw8822c.c drivers/net/wireless/realtek/rtw88/rtw8822c.c:5313:22: warning: symbol 'rtw8822c_hw_spec' was not declared. Should it be static? Signed-off-by: Larry Finger --- v2 - change subject as recommended by Kalle --- drivers/net/wireless/realtek/rtw88/rtw8822c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822c.c b/drivers/net/wireless/realtek/rtw88/rtw8822c.c index c043b5c520b9..5ae72d7f5c50 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8822c.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8822c.c @@ -5310,7 +5310,7 @@ static const struct rtw_reg_domain coex_info_hw_regs_8822c[] = { {0xc50, MASKBYTE0, RTW_REG_DOMAIN_MAC8}, }; -struct rtw_chip_info rtw8822c_hw_spec = { +static struct rtw_chip_info rtw8822c_hw_spec = { .ops = &rtw8822c_ops, .id = RTW_CHIP_TYPE_8822C, .fw_name = "rtw88/rtw8822c_fw.bin", From patchwork Sat May 21 17:31:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 12857990 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1106C433F5 for ; Sat, 21 May 2022 17:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346686AbiEURcZ (ORCPT ); Sat, 21 May 2022 13:32:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236589AbiEURcV (ORCPT ); Sat, 21 May 2022 13:32:21 -0400 Received: from p-impout002.msg.pkvw.co.charter.net (p-impout002aa.msg.pkvw.co.charter.net [47.43.26.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E43A55218 for ; Sat, 21 May 2022 10:32:20 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-100e.res6.spectrum.com.com ([24.31.246.181]) by cmsmtp with ESMTP id sSxHnqW0wFl1esSxfnDBdF; Sat, 21 May 2022 17:32:20 +0000 X-Authority-Analysis: v=2.4 cv=EpDBEAQA c=1 sm=1 tr=0 ts=62892224 a=cAe/7qmlxnd6JlJqP68I9A==:117 a=cAe/7qmlxnd6JlJqP68I9A==:17 a=yQdBAQUQAAAA:8 a=x68MAS-g3-2hpnaHOukA:9 a=SzazLyfi1tnkUD6oumHU:22 From: Larry Finger To: Kalle Valo Cc: Johannes Berg , linux-wireless@vger.kernel.org, Larry Finger , Ping-Ke Shih Subject: [PATCH v2 3/4] rtw88: Make rtw8723d_hw_spec be static Date: Sat, 21 May 2022 12:31:43 -0500 Message-Id: <20220521173144.9917-4-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220521173144.9917-1-Larry.Finger@lwfinger.net> References: <20220521173144.9917-1-Larry.Finger@lwfinger.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfHNEAVP52c06TAw0EXK+P+LdCoyAI1eOpCOBblfIT/diRMQo85HZ5ApFjgtFrfuCjWRQkyHe4oM9EQURzs7rQuux7cKzQaG7DfGoeUsDDFKWEBD1Id2r xEStU9lSJXtj/he3LjNG1motAmJXALfx37BtorldoHFZAvahjv6BMVmPfTOeRdvgHTHW/cVN9QLDeKCt8n1UNkUFn1Jq7Ggy5a283Ig0kkrPX0WdmjUs7I1p Ado04srvJ62X3czMscxuNL5cJBh1d2iXQoH8GeSotCM3O/ssA42ibNHJcQwW5gMALT3hPiOBpJ4esArZnSdNJOjy1GUyQVDRT/2Fpwt8dFn18IJlUJR6cWSL hyFVgvn+8DrEV1mKXLC4t3xIwPiJcmV+VIisuEQNKHaDNqw/eLQ= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sparse lists the following: CHECK drivers/net/wireless/realtek/rtw88/rtw8723d.c drivers/net/wireless/realtek/rtw88/rtw8723d.c:2704:22: warning: symbol 'rtw8723d_hw_spec' was not declared. Should it be static? Signed-off-by: Larry Finger --- v2 - change subject as recommended by Kalle --- drivers/net/wireless/realtek/rtw88/rtw8723d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8723d.c b/drivers/net/wireless/realtek/rtw88/rtw8723d.c index 93cce44df531..05e826e6ed0d 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8723d.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8723d.c @@ -2701,7 +2701,7 @@ static const struct rtw_reg_domain coex_info_hw_regs_8723d[] = { {0x953, BIT(1), RTW_REG_DOMAIN_MAC8}, }; -struct rtw_chip_info rtw8723d_hw_spec = { +static struct rtw_chip_info rtw8723d_hw_spec = { .ops = &rtw8723d_ops, .id = RTW_CHIP_TYPE_8723D, .fw_name = "rtw88/rtw8723d_fw.bin", From patchwork Sat May 21 17:32:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 12857991 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A218C433F5 for ; Sat, 21 May 2022 17:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245194AbiEURcx (ORCPT ); Sat, 21 May 2022 13:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236589AbiEURcw (ORCPT ); Sat, 21 May 2022 13:32:52 -0400 Received: from p-impout001.msg.pkvw.co.charter.net (p-impout010aa.msg.pkvw.co.charter.net [47.43.26.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 789F152E45 for ; Sat, 21 May 2022 10:32:51 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-100e.res6.spectrum.com.com ([24.31.246.181]) by cmsmtp with ESMTP id sSy9npnEsHQLKsSy9ntM6h; Sat, 21 May 2022 17:32:50 +0000 X-Authority-Analysis: v=2.4 cv=FcIkeby6 c=1 sm=1 tr=0 ts=62892242 a=cAe/7qmlxnd6JlJqP68I9A==:117 a=cAe/7qmlxnd6JlJqP68I9A==:17 a=yQdBAQUQAAAA:8 a=DY4fc44Ji0MHZCRQ1l4A:9 a=SzazLyfi1tnkUD6oumHU:22 From: Larry Finger To: Kalle Valo Cc: Johannes Berg , linux-wireless@vger.kernel.org, Larry Finger , Ping-Ke Shih Subject: [PATCH v2 4/4] rtw88: Make rtw8821c_hw_spec be static Date: Sat, 21 May 2022 12:32:45 -0500 Message-Id: <20220521173245.11463-1-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfIx3QmqnvxU6BTolkQ33n7Q+rvJgltbMF6/WxbeJWheURCWPl+gHOpVgIb/cFHDNO8WQ/zuG4k4yXC00/rMVepcUI7Q+Ik9PP9C3Hn6QBnp1QfNAGupQ b08y6g3y6mfh0hJiCc2gD7bG/+PXy4MN6wMLidV9rrYKwcEQed98dyJAonURgAZdETchGAjpB3fIZwqityzIvFZgOvnwUtk9p8PJhfhJX/yXr4TM2a/6DqBf Z4czoZdax8n1q1GncKJdz4vxRb/hdt5EyL5J9xvQe+r6berR0HPvloHNusjCYBLHVMs+MbmQTgt2KQaTD5tNmG5Sk+yU6QEuODSjn8kKQ6P/znzNACZLMIsS zjVmzHlLqboq49zn6iancTxEBZXOANw0bTu73oiN7icvr64MGWA= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sparse lists the following: CHECK drivers/net/wireless/realtek/rtw88/rtw8821c.c drivers/net/wireless/realtek/rtw88/rtw8821c.c:1880:22: warning: symbol 'rtw8821c_hw_spec' was not declared. Should it be static? Signed-off-by: Larry Finger --- v2 - change subject as recommended by Kalle --- drivers/net/wireless/realtek/rtw88/rtw8821c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821c.c b/drivers/net/wireless/realtek/rtw88/rtw8821c.c index ffee39ea5df6..c0bfda189b99 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c @@ -1877,7 +1877,7 @@ static const struct rtw_reg_domain coex_info_hw_regs_8821c[] = { {0x60A, MASKBYTE0, RTW_REG_DOMAIN_MAC8}, }; -struct rtw_chip_info rtw8821c_hw_spec = { +static struct rtw_chip_info rtw8821c_hw_spec = { .ops = &rtw8821c_ops, .id = RTW_CHIP_TYPE_8821C, .fw_name = "rtw88/rtw8821c_fw.bin",