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 <[email protected]>
AuthorDate: 2022-07-03 11:43:44 +0000
Commit:     Gordon Bergling <[email protected]>
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) {

Reply via email to