[PATCH] ath11k: Fix typo in comments

Zhang Jiaming posted 1 patch 3 years, 9 months ago
drivers/net/wireless/ath/ath11k/hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ath11k: Fix typo in comments
Posted by Zhang Jiaming 3 years, 9 months ago
There is a typo(isn't') in comments.
It maybe 'isn't' instead of 'isn't''.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 drivers/net/wireless/ath/ath11k/hal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/hal.c b/drivers/net/wireless/ath/ath11k/hal.c
index 1dba7b9e0bda..bda71ab5a1f2 100644
--- a/drivers/net/wireless/ath/ath11k/hal.c
+++ b/drivers/net/wireless/ath/ath11k/hal.c
@@ -1165,7 +1165,7 @@ void ath11k_hal_srng_shadow_update_hp_tp(struct ath11k_base *ab,
 	lockdep_assert_held(&srng->lock);
 
 	/* check whether the ring is emptry. Update the shadow
-	 * HP only when then ring isn't' empty.
+	 * HP only when then ring isn't empty.
 	 */
 	if (srng->ring_dir == HAL_SRNG_DIR_SRC &&
 	    *srng->u.src_ring.tp_addr != srng->u.src_ring.hp)
-- 
2.34.1
Re: [PATCH] ath11k: Fix typo in comments
Posted by Kalle Valo 3 years, 9 months ago
Zhang Jiaming <jiaming@nfschina.com> wrote:

> There is a typo(isn't') in comments.
> It maybe 'isn't' instead of 'isn't''.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

7d1e59a35ffa ath11k: Fix typo in comments

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220704030004.16484-1-jiaming@nfschina.com/

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