The branch stable/12 has been updated by gbe (doc committer):

URL: 
https://cgit.FreeBSD.org/src/commit/?id=07683b757189d91e3b5d8056547e09ab010a01e1

commit 07683b757189d91e3b5d8056547e09ab010a01e1
Author:     Gordon Bergling <[email protected]>
AuthorDate: 2022-04-02 12:51:57 +0000
Commit:     Gordon Bergling <[email protected]>
CommitDate: 2022-04-09 06:22:42 +0000

    etherswitch(4): Fix a few common typos in source code comments
    
    - s/accomodate/accommodate/
    
    (cherry picked from commit 9097d2f5d10f2cf051eac81e0d3626554633d9f8)
---
 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);
                }

Reply via email to