diff mbox series

[next] rtw89: Fix two spelling mistakes in debug messages

Message ID 20211015105004.11817-1-colin.king@canonical.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series [next] rtw89: Fix two spelling mistakes in debug messages | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Colin King Oct. 15, 2021, 10:50 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There are two spelling mistakes in rtw89_debug messages. Fix them.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/wireless/realtek/rtw89/phy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ping-Ke Shih Oct. 18, 2021, 1:30 a.m. UTC | #1
> -----Original Message-----
> From: Colin King <colin.king@canonical.com>
> Sent: Friday, October 15, 2021 6:50 PM
> To: Kalle Valo <kvalo@codeaurora.org>; David S . Miller <davem@davemloft.net>; Jakub Kicinski
> <kuba@kernel.org>; Pkshih <pkshih@realtek.com>; linux-wireless@vger.kernel.org;
> netdev@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH][next] rtw89: Fix two spelling mistakes in debug messages
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> There are two spelling mistakes in rtw89_debug messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: Ping-Ke Shih <pkshih@realtek.com>

> ---
>  drivers/net/wireless/realtek/rtw89/phy.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/realtek/rtw89/phy.c
> b/drivers/net/wireless/realtek/rtw89/phy.c
> index 53c36cc82c57..ab134856baac 100644
> --- a/drivers/net/wireless/realtek/rtw89/phy.c
> +++ b/drivers/net/wireless/realtek/rtw89/phy.c
> @@ -1715,7 +1715,7 @@ static s32 rtw89_phy_multi_sta_cfo_calc(struct rtw89_dev *rtwdev)
>  			target_cfo = clamp(cfo_avg, max_cfo_lb, min_cfo_ub);
>  		} else {
>  			rtw89_debug(rtwdev, RTW89_DBG_CFO,
> -				    "No intersection of cfo torlence windows\n");
> +				    "No intersection of cfo tolerance windows\n");
>  			target_cfo = phy_div(cfo_khz_all, (s32)sta_cnt);
>  		}
>  		for (i = 0; i < CFO_TRACK_MAX_USER; i++)
> @@ -2749,7 +2749,7 @@ static void rtw89_phy_dig_dyn_pd_th(struct rtw89_dev *rtwdev, u8 rssi,
>  			    dig->igi_rssi, final_rssi, under_region, val);
>  	} else {
>  		rtw89_debug(rtwdev, RTW89_DBG_DIG,
> -			    "Dynamic PD th dsiabled, Set PD_low_bd=0\n");
> +			    "Dynamic PD th disabled, Set PD_low_bd=0\n");
>  	}
> 
>  	rtw89_phy_write32_mask(rtwdev, R_SEG0R_PD, B_SEG0R_PD_LOWER_BOUND_MSK,
> --
> 2.32.0
> 
> ------Please consider the environment before printing this e-mail.
Kalle Valo Oct. 18, 2021, 12:31 p.m. UTC | #2
Colin King <colin.king@canonical.com> wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There are two spelling mistakes in rtw89_debug messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>

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

c51ed74093d4 rtw89: Fix two spelling mistakes in debug messages
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/phy.c b/drivers/net/wireless/realtek/rtw89/phy.c
index 53c36cc82c57..ab134856baac 100644
--- a/drivers/net/wireless/realtek/rtw89/phy.c
+++ b/drivers/net/wireless/realtek/rtw89/phy.c
@@ -1715,7 +1715,7 @@  static s32 rtw89_phy_multi_sta_cfo_calc(struct rtw89_dev *rtwdev)
 			target_cfo = clamp(cfo_avg, max_cfo_lb, min_cfo_ub);
 		} else {
 			rtw89_debug(rtwdev, RTW89_DBG_CFO,
-				    "No intersection of cfo torlence windows\n");
+				    "No intersection of cfo tolerance windows\n");
 			target_cfo = phy_div(cfo_khz_all, (s32)sta_cnt);
 		}
 		for (i = 0; i < CFO_TRACK_MAX_USER; i++)
@@ -2749,7 +2749,7 @@  static void rtw89_phy_dig_dyn_pd_th(struct rtw89_dev *rtwdev, u8 rssi,
 			    dig->igi_rssi, final_rssi, under_region, val);
 	} else {
 		rtw89_debug(rtwdev, RTW89_DBG_DIG,
-			    "Dynamic PD th dsiabled, Set PD_low_bd=0\n");
+			    "Dynamic PD th disabled, Set PD_low_bd=0\n");
 	}
 
 	rtw89_phy_write32_mask(rtwdev, R_SEG0R_PD, B_SEG0R_PD_LOWER_BOUND_MSK,