Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I169e5e1674cfda3599ea585ca3fd7afcfed601c0
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/ethernet_interface.hpp b/src/ethernet_interface.hpp
index 846d9c9..aae2e1f 100644
--- a/src/ethernet_interface.hpp
+++ b/src/ethernet_interface.hpp
@@ -75,7 +75,7 @@
* @param[in] manager - parent object.
* @param[in] info - Interface information.
* @param[in] objRoot - Path to attach at.
- * @param[in] config - The parsed configuation file.
+ * @param[in] config - The parsed configuration file.
* @param[in] vlan - The id of the vlan if configured
* @param[in] enabled - Determine if systemd-networkd is managing this link
*/
diff --git a/src/ibm/hypervisor-network-mgr-src/hyp_network_manager.hpp b/src/ibm/hypervisor-network-mgr-src/hyp_network_manager.hpp
index 087763f..6501e86 100644
--- a/src/ibm/hypervisor-network-mgr-src/hyp_network_manager.hpp
+++ b/src/ibm/hypervisor-network-mgr-src/hyp_network_manager.hpp
@@ -144,7 +144,7 @@
/** @brief Setter method for biosTableAttrs data member
* GET operation on the BIOS table to
- * read all the hyp attrbutes (name, value pair)
+ * read all the hyp attributes (name, value pair)
* and push them to biosTableAttrs data member
*/
void setBIOSTableAttrs();
diff --git a/src/inventory_mac.cpp b/src/inventory_mac.cpp
index 31d74c8..8e0f3cb 100644
--- a/src/inventory_mac.cpp
+++ b/src/inventory_mac.cpp
@@ -206,7 +206,7 @@
return true;
}
-// register the macthes to be monitored from inventory manager
+// register the matches to be monitored from inventory manager
void registerSignals(sdbusplus::bus_t& bus)
{
lg2::info("Registering the Inventory Signals Matcher");
@@ -306,9 +306,10 @@
}
}
};
- // Incase if phosphor-inventory-manager started early and the VPD is already
- // collected by the time network service has come up, better to check the
- // VPD directly and set the MAC Address on the respective Interface.
+
+ // The VPD may already have been assigned because phosphor-inventory-manager
+ // started ahead of the network service. Read the VPD directly and assign
+ // the MAC address despite this possibility.
for (const auto& interfaceString : configJson.items())
{
diff --git a/src/network_manager.hpp b/src/network_manager.hpp
index 57db371..b92c528 100644
--- a/src/network_manager.hpp
+++ b/src/network_manager.hpp
@@ -154,7 +154,7 @@
std::vector<fu2::unique_function<void()>> reloadPreHooks;
std::vector<fu2::unique_function<void()>> reloadPostHooks;
- /** @brief Handles the recipt of an adminstrative state string */
+ /** @brief Handles the receipt of an administrative state string */
void handleAdminState(std::string_view state, unsigned ifidx);
/** @brief Creates the interface in the maps */