Skip to content

Commit f3bf120

Browse files
committed
[CORE]: Address review dog lints in #26210 (Linux device discovery)
Review dog lints: https://github.com/microsoft/onnxruntime/pull/26210/changes Plus a typo: `dit` -> `did`
1 parent 30ad350 commit f3bf120

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

onnxruntime/core/platform/linux/device_discovery.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <iterator>
99
#include <optional>
1010
#include <regex>
11+
#include <string>
1112
#include <string_view>
1213

1314
#include "core/common/common.h"
@@ -130,9 +131,9 @@ Status GetPciBusId(const std::filesystem::path& sysfs_path, std::optional<std::s
130131
pci_bus_id = {};
131132
LOGS_DEFAULT(WARNING) << MakeString("Skipping pci_bus_id for PCI path at \"",
132133
pci_bus_id_path.string(),
133-
"\" because filename \"", pci_bus_id_filename, "\" dit not match expected pattern of ",
134+
"\" because filename \"", pci_bus_id_filename, "\" did not match expected pattern of ",
134135
regex_pattern);
135-
};
136+
}
136137

137138
return Status::OK();
138139
}

0 commit comments

Comments
 (0)