Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 02:28:49 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: b829fb631887 - stable/12 - pci(4): Fix a common typo in source code comments
Message-ID:  <202207080228.2682SnEU014365@gitrepo.freebsd.org>

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

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

commit b829fb631887c2d7d70b9de5c89e34f3cf9d1abf
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-03 11:43:44 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-07-08 02:28:30 +0000

    pci(4): Fix a common typo in source code comments
    
    - s/transistions/transitions/
    
    (cherry picked from commit 00c00c3824cb32abf732a8eb177eaba9385dab8b)
---
 sys/dev/pci/pci.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index e167465db9b3..e793c435189b 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1202,7 +1202,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
 				    M_DEVBUF, M_WAITOK);
 			remain -= 3;
 			i = 0;
-			/* keep in sync w/ state 3's transistions */
+			/* keep in sync w/ state 3's transitions */
 			if (dflen == 0 && remain == 0)
 				state = 0;
 			else if (dflen == 0)
@@ -1229,7 +1229,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
 			}
 			dflen--;
 			remain--;
-			/* keep in sync w/ state 2's transistions */
+			/* keep in sync w/ state 2's transitions */
 			if (dflen == 0)
 				cfg->vpd.vpd_ros[off++].value[i++] = '\0';
 			if (dflen == 0 && remain == 0) {
@@ -1271,7 +1271,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
 			    M_DEVBUF, M_WAITOK);
 			remain -= 3;
 			i = 0;
-			/* keep in sync w/ state 6's transistions */
+			/* keep in sync w/ state 6's transitions */
 			if (dflen == 0 && remain == 0)
 				state = 0;
 			else if (dflen == 0)
@@ -1284,7 +1284,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
 			cfg->vpd.vpd_w[off].value[i++] = byte;
 			dflen--;
 			remain--;
-			/* keep in sync w/ state 5's transistions */
+			/* keep in sync w/ state 5's transitions */
 			if (dflen == 0)
 				cfg->vpd.vpd_w[off++].value[i++] = '\0';
 			if (dflen == 0 && remain == 0) {



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