From nobody Sat Apr 02 12:52:23 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A3E031A451C0; Sat, 2 Apr 2022 12:52:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KVxlC73gzz4TJ9; Sat, 2 Apr 2022 12:52:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648903944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qpZdxMBYzCugETondX/t80y/lygIdrwZ8kvGpc2Qbm4=; b=m/G4EZIK5UeelBquzI3RDD3LPj3f4iHK7B52Fp6FiCNTx0amDVFbr0sdumhbOirERueX2j 1Spqk5SAheiPaX7ljZ2VeV5O7M39s27PUo/i4mQVTS/tpviXrRGBGwKqyjkuWI5TrM3aqz R8NWcgKUfoOnXpVCCLs1q/7g45v3m1fLTb3ip5eel3CIs8yYBm61vspmPVJG1gnoJ8qGcn /Z5VDMw69d/PQu+L4IkBGl8wIYndHJ8z2T6oXO1E0oUYwLvUOEOCL8Um2y9rLLQLc5Z+p7 46jiy9DUewF4V++OQpZ9Jl2HN0gL1dUWRvbBe+TFosiBkYI7GEjSYzu8ogI6jw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AFDB312AE; Sat, 2 Apr 2022 12:52:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 232CqNMT044791; Sat, 2 Apr 2022 12:52:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 232CqNXN044790; Sat, 2 Apr 2022 12:52:23 GMT (envelope-from git) Date: Sat, 2 Apr 2022 12:52:23 GMT Message-Id: <202204021252.232CqNXN044790@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 9097d2f5d10f - main - etherswitch(4): Fix a few common typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9097d2f5d10f2cf051eac81e0d3626554633d9f8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648903944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qpZdxMBYzCugETondX/t80y/lygIdrwZ8kvGpc2Qbm4=; b=hz7s686maqytfKKp0YYMHig/e1ztYXB+sKQXPLdndIY7qVG2VHtcDa0wL5ZdjLVhmyUOLZ Ld6qyLkMgEkZTG+vIj1aoMGdjZTFf8hOyiXFnzwy8pGZP5WxJ3e4nrqB2G46tqTm4ST9FL pK2ZXdsSfGOV5J5tM/lxgz6iVLAyJJ2n5tqIXBfwKB37QE0A6wd0N7YiMc347ZCfW4Ehhg vsJKVd9DEie9kuIjZXweGpR2+BTYsxOWpzXbWSzo5q1k1ARRe3kVMvz4z+W6TRBA9XbHWe ChHII93WfvTdEPqAotz+M7Udxu5LC09yo0l45cQDeHq1RzHuJdrwQ3f/c0bluQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648903944; a=rsa-sha256; cv=none; b=fx17NUx8JxgjhwfaT0VsdJ0ZqX9EwQ6WBCFR1LnQTRKpM4xsAvbAy+cC0Jf+c7aoUwshbJ MLwRz5FIySh3zWRc21kDsHrbY4yryKqmOSNY8D7FQupuWO7qiUYi5d/FqWvgXb6saKI7mK FAIT7fQMyL1ITBvm/TZiyhIe+kfVvTzQWkxDt7ccyEz5N8JlG0vkGjHUbOcQriuFzMIVvO 5FTo2A+OD+sheUZ0IQcNaG800EILzr70SyAJV5dsARHapxieaavj/g7rszafq9J3cSlL3k jJQBJmlaAs2RdDShx/v2ohFNIkuQIz99VKgrA9yKlxVX+GBvXrg9jUX28o4dUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=9097d2f5d10f2cf051eac81e0d3626554633d9f8 commit 9097d2f5d10f2cf051eac81e0d3626554633d9f8 Author: Gordon Bergling AuthorDate: 2022-04-02 12:51:57 +0000 Commit: Gordon Bergling 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); }