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: I539a0c5baa63be240fc1c76367c0af338dd89c7b
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index 868e82d..a0adb84 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -292,7 +292,7 @@
pldm_find_entity_ref_in_tree(entityTree, entities[0], &node);
if (node == nullptr)
{
- error("Failed to find referrence of the entity in the tree");
+ error("Failed to find reference of the entity in the tree");
}
else
{
@@ -1043,7 +1043,7 @@
{
fruRecordData.clear();
- error("Failed to parse fru recrod data format.");
+ error("Failed to parse fru record data format.");
return;
}
diff --git a/host-bmc/host_pdr_handler.hpp b/host-bmc/host_pdr_handler.hpp
index bc08c2d..0af0f63 100644
--- a/host-bmc/host_pdr_handler.hpp
+++ b/host-bmc/host_pdr_handler.hpp
@@ -117,7 +117,7 @@
*
* @param[in] entry - TerminusID and SensorID
*
- * @return SensorInfo corresponding to the input paramter SensorEntry
+ * @return SensorInfo corresponding to the input parameter SensorEntry
* throw std::out_of_range exception if not found
*/
const pdr::SensorInfo& lookupSensorInfo(const SensorEntry& entry) const