All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtw88: 8723d: fix sparse warnings for power tracking
@ 2020-05-12 10:35 yhchuang
  2020-05-13 15:54 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: yhchuang @ 2020-05-12 10:35 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, pkshih

From: Yan-Hsuan Chuang <yhchuang@realtek.com>

sparse warnings: (new ones prefixed by >>)

>> drivers/net/wireless/realtek/rtw88/rtw8723d.c:1899:6: sparse: sparse:
symbol 'rtw8723d_pwr_track' was not declared. Should it be static?

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
---
 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 2a5479af092e..340c8c455802 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8723d.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8723d.c
@@ -1897,7 +1897,7 @@ static void rtw8723d_phy_pwrtrack(struct rtw_dev *rtwdev)
 		rtw8723d_phy_calibration(rtwdev);
 }
 
-void rtw8723d_pwr_track(struct rtw_dev *rtwdev)
+static void rtw8723d_pwr_track(struct rtw_dev *rtwdev)
 {
 	struct rtw_efuse *efuse = &rtwdev->efuse;
 	struct rtw_dm_info *dm_info = &rtwdev->dm_info;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtw88: 8723d: fix sparse warnings for power tracking
  2020-05-12 10:35 [PATCH] rtw88: 8723d: fix sparse warnings for power tracking yhchuang
@ 2020-05-13 15:54 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-05-13 15:54 UTC (permalink / raw)
  To: yhchuang; +Cc: linux-wireless, pkshih

<yhchuang@realtek.com> wrote:

> From: Yan-Hsuan Chuang <yhchuang@realtek.com>
> 
> sparse warnings: (new ones prefixed by >>)
> 
> >> drivers/net/wireless/realtek/rtw88/rtw8723d.c:1899:6: sparse: sparse:
> symbol 'rtw8723d_pwr_track' was not declared. Should it be static?
> 
> Reported-by: kbuild test robot <lkp@intel.com>
> Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>

Patch applied to wireless-drivers-next.git, thanks.

0c4402385ac4 rtw88: 8723d: fix sparse warnings for power tracking

-- 
https://patchwork.kernel.org/patch/11542931/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-13 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 10:35 [PATCH] rtw88: 8723d: fix sparse warnings for power tracking yhchuang
2020-05-13 15:54 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.