Skip to content

Commit 5cf1be6

Browse files
ChaselChiumergify[bot]
authored andcommitted
ShellPkg/pci.c: Fix typo in source code.
Signed-off-by: Chasel Chiu <[email protected]>
1 parent 5550d8f commit 5cf1be6

File tree

1 file changed

+5
-5
lines changed
  • ShellPkg/Library/UefiShellDebug1CommandsLib

1 file changed

+5
-5
lines changed

ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ PciPrintClassCode (
18131813

18141814
if (IncludePIF) {
18151815
//
1816-
// Print base class, sub class, and programming inferface name
1816+
// Print base class, sub class, and programming interface name
18171817
//
18181818
ShellPrintDefaultEx (
18191819
L"%s - %s - %s",
@@ -1835,7 +1835,7 @@ PciPrintClassCode (
18351835

18361836
/**
18371837
This function finds out the protocol which is in charge of the given
1838-
segment, and its bus range covers the current bus number. It lookes
1838+
segment, and its bus range covers the current bus number. It looks
18391839
each instances of RootBridgeIoProtocol handle, until the one meets the
18401840
criteria is found.
18411841
@@ -2367,7 +2367,7 @@ CHAR16 *DevicePortTypeTable[] = {
23672367
L"PCI Express Endpoint",
23682368
L"Legacy PCI Express Endpoint",
23692369
L"Unknown Type",
2370-
L"Unknonw Type",
2370+
L"Unknown Type",
23712371
L"Root Port of PCI Express Root Complex",
23722372
L"Upstream Port of PCI Express Switch",
23732373
L"Downstream Port of PCI Express Switch",
@@ -2987,7 +2987,7 @@ ShellCommandRunPci (
29872987

29882988
/**
29892989
This function finds out the protocol which is in charge of the given
2990-
segment, and its bus range covers the current bus number. It lookes
2990+
segment, and its bus range covers the current bus number. It looks
29912991
each instances of RootBridgeIoProtocol handle, until the one meets the
29922992
criteria is found.
29932993
@@ -3077,7 +3077,7 @@ PciGetProtocolAndResource (
30773077
EFI_STATUS Status;
30783078

30793079
//
3080-
// Get inferface from protocol
3080+
// Get interface from protocol
30813081
//
30823082
Status = gBS->HandleProtocol (
30833083
Handle,

0 commit comments

Comments
 (0)