git: 23bb344ee3cb - stable/13 - pci(4): Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Jul 2022 02:25:30 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=23bb344ee3cb2e9bd23d6a5e92b8a61acfe5d87a
commit 23bb344ee3cb2e9bd23d6a5e92b8a61acfe5d87a
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:23:07 +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 24f81b57ff11..6e9ac44577b4 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1250,7 +1250,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)
@@ -1277,7 +1277,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) {
@@ -1319,7 +1319,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)
@@ -1332,7 +1332,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) {