git: 00c00c3824cb - main - pci(4): Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 11:43:58 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=00c00c3824cb32abf732a8eb177eaba9385dab8b
commit 00c00c3824cb32abf732a8eb177eaba9385dab8b
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-03 11:43:44 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-07-03 11:43:44 +0000
pci(4): Fix a common typo in source code comments
- s/transistions/transitions/
MFC after: 3 days
---
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 57a47f21cd0b..6c09212c2656 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1249,7 +1249,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)
@@ -1276,7 +1276,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) {
@@ -1318,7 +1318,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)
@@ -1331,7 +1331,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) {