git: 9097d2f5d10f - main - etherswitch(4): Fix a few common typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 02 Apr 2022 12:52:23 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=9097d2f5d10f2cf051eac81e0d3626554633d9f8

commit 9097d2f5d10f2cf051eac81e0d3626554633d9f8
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 12:51:57 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-02 12:51:57 +0000

    etherswitch(4): Fix a few common typos in source code comments
    
    - s/accomodate/accommodate/
    
    MFC after:      3 days
---
 sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c b/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
index e3ea80fe2a1d..3be501b02acb 100644
--- a/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
+++ b/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
@@ -403,7 +403,7 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
 
 	MTKSWITCH_LOCK_ASSERT(sc, MA_NOTOWNED);
 	MTKSWITCH_LOCK(sc);
-	/* First, see if we can accomodate the request at all */
+	/* First, see if we can accommodate the request at all */
 	val = MTKSWITCH_READ(sc, MTKSWITCH_POC2);
 	if (sc->sc_switchtype == MTK_SWITCH_RT3050 ||
 	    (val & POC2_UNTAG_VLAN) == 0) {
@@ -421,14 +421,14 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
 		tmp = v->es_untagged_ports & v->es_member_ports;
 		/* fail if untagged members are not a subset of all members */
 		if (tmp != v->es_untagged_ports) {
-			/* Cannot accomodate request */
+			/* Cannot accommodate request */
 			MTKSWITCH_UNLOCK(sc);
 			return (ENOTSUP);
 		}
 
 		/* fail if any untagged member is set up to do tagging */
 		if ((tmp & val) != tmp) {
-			/* Cannot accomodate request */
+			/* Cannot accommodate request */
 			MTKSWITCH_UNLOCK(sc);
 			return (ENOTSUP);
 		}
@@ -437,7 +437,7 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
 		tmp = v->es_member_ports & ~tmp;
 		/* fail if any tagged member is set up to do untagging */
 		if ((tmp & val) != 0) {
-			/* Cannot accomodate request */
+			/* Cannot accommodate request */
 			MTKSWITCH_UNLOCK(sc);
 			return (ENOTSUP);
 		}