Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2022 05:42:42 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 17b417ef0e5c - stable/13 - ath(4): Fix two typos in source code comments
Message-ID:  <202209060542.2865ggan013787@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=17b417ef0e5c5ec6334769aee7652802334e0543

commit 17b417ef0e5c5ec6334769aee7652802334e0543
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-03 13:24:48 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-06 05:40:41 +0000

    ath(4): Fix two typos in source code comments
    
    - s/overriden/overridden/
    
    (cherry picked from commit f9a9fe46dc3ed37c9b44cd2b6561b324819fa81e)
---
 sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 4 ++--
 sys/dev/ath/if_ath_tx.c                   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
index f3d6fcab0d68..75445e1459a1 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
@@ -204,11 +204,11 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode,
 		    AR_MAC_PCU_ASYNC_FIFO_REG3_SOFT_RESET);
 	}
 
-	/* Override ini values (that can be overriden in this fashion) */
+	/* Override ini values (that can be overridden in this fashion) */
 	ar5416OverrideIni(ah, chan);
 
 	/* Setup 11n MAC/Phy mode registers */
-	ar5416Set11nRegs(ah, chan);	
+	ar5416Set11nRegs(ah, chan);
 
 	OS_MARK(ah, AH_MARK_RESET_LINE, __LINE__);
 
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index b9de388f3ad8..46ac7889f3d6 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -1352,7 +1352,7 @@ ath_tx_setds(struct ath_softc *sc, struct ath_buf *bf)
 	);
 
 	/*
-	 * This will be overriden when the descriptor chain is written.
+	 * This will be overridden when the descriptor chain is written.
 	 */
 	bf->bf_lastds = ds;
 	bf->bf_last = bf;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209060542.2865ggan013787>