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/common/bios_utils.hpp b/common/bios_utils.hpp
index e1a98d3..01ca4aa 100644
--- a/common/bios_utils.hpp
+++ b/common/bios_utils.hpp
@@ -64,7 +64,7 @@
/** @brief Get the entry pointed by the iterator
*
- * @return Poiner to the entry
+ * @return Pointer to the entry
*/
const T* operator*() const
{
diff --git a/common/flight_recorder.hpp b/common/flight_recorder.hpp
index fe6e906..47afed0 100644
--- a/common/flight_recorder.hpp
+++ b/common/flight_recorder.hpp
@@ -61,7 +61,7 @@
/** @brief Add records to the flightRecorder
*
- * @param[in] buffer - The request/respose byte buffer
+ * @param[in] buffer - The request/response byte buffer
* @param[in] isRequest - bool that captures if it is a request message or
* a response message
*
diff --git a/common/utils.hpp b/common/utils.hpp
index 3e8e19e..0c5c506 100644
--- a/common/utils.hpp
+++ b/common/utils.hpp
@@ -93,7 +93,7 @@
* @param[out] hour - number of hours in dec
* @param[out] min - number of minutes in dec
* @param[out] sec - number of seconds in dec
- * @return true if decode success, false if decode faild
+ * @return true if decode success, false if decode failed
*/
bool uintToDate(uint64_t data, uint16_t* year, uint8_t* month, uint8_t* day,
uint8_t* hour, uint8_t* min, uint8_t* sec);
diff --git a/fw-update/inventory_manager.hpp b/fw-update/inventory_manager.hpp
index a2e86ad..1ea4685 100644
--- a/fw-update/inventory_manager.hpp
+++ b/fw-update/inventory_manager.hpp
@@ -32,7 +32,7 @@
*
* @param[in] handler - PLDM request handler
* @param[in] instanceIdDb - Managing instance ID for PLDM requests
- * @param[out] descriptorMap - Populate the firmware identifers for the
+ * @param[out] descriptorMap - Populate the firmware identifiers for the
* FDs managed by the BMC.
* @param[out] componentInfoMap - Populate the component info for the FDs
* managed by the BMC.
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
diff --git a/libpldmresponder/bios_attribute.cpp b/libpldmresponder/bios_attribute.cpp
index ccd2a71..7ae6af7 100644
--- a/libpldmresponder/bios_attribute.cpp
+++ b/libpldmresponder/bios_attribute.cpp
@@ -40,7 +40,7 @@
}
catch (const std::exception&)
{
- // No action required, dBusMap whill have no value
+ // No action required, dBusMap will have no value
}
}
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index 82b3dfe..9883075 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -1079,7 +1079,7 @@
}
}
- throw std::invalid_argument("Unknow attribute Name");
+ throw std::invalid_argument("Unknown attribute Name");
}
void BIOSConfig::constructPendingAttribute(
diff --git a/libpldmresponder/bios_integer_attribute.cpp b/libpldmresponder/bios_integer_attribute.cpp
index 8c343c7..058df1b 100644
--- a/libpldmresponder/bios_integer_attribute.cpp
+++ b/libpldmresponder/bios_integer_attribute.cpp
@@ -37,7 +37,7 @@
if (rc != PLDM_SUCCESS)
{
error(
- "Wrong field for integer attribute '{ATTRIBUTE}', error '{ERROR}', lower bound '{LOW_BOUND}', upper bound '{UPPER_BOUND}', default value '{DEFAULT_VALUE}' and scalar increament '{SCALAR_INCREMENT}'",
+ "Wrong field for integer attribute '{ATTRIBUTE}', error '{ERROR}', lower bound '{LOW_BOUND}', upper bound '{UPPER_BOUND}', default value '{DEFAULT_VALUE}' and scalar increment '{SCALAR_INCREMENT}'",
"ATTRIBUTE", attr, "ERROR", errmsg, "LOW_BOUND",
integerInfo.lowerBound, "UPPER_BOUND", integerInfo.upperBound,
"DEFAULT_VALUE", integerInfo.defaultValue, "SCALAR_INCREMENT",
diff --git a/libpldmresponder/event_parser.hpp b/libpldmresponder/event_parser.hpp
index 471c151..5489591 100644
--- a/libpldmresponder/event_parser.hpp
+++ b/libpldmresponder/event_parser.hpp
@@ -86,7 +86,7 @@
StateSensorHandler() = delete;
/** @brief Parse the event state sensor configuration JSON file and build
- * the lookup data stucture.
+ * the lookup data structure.
*
* @param[in] dirPath - directory path which has the config JSONs
*/
diff --git a/libpldmresponder/examples/bios/integer_attrs.json b/libpldmresponder/examples/bios/integer_attrs.json
index aecc26d..672c440 100644
--- a/libpldmresponder/examples/bios/integer_attrs.json
+++ b/libpldmresponder/examples/bios/integer_attrs.json
@@ -23,7 +23,7 @@
"default_value": 2
},
{
- // This atttribute has invalid default value or scalar_increment, when
+ // This attribute has invalid default value or scalar_increment, when
// scalar_increment=2 and lower_bound=1, default_value must be 1, 3, 5...
"attribute_name": "INTEGER_INVALID_CASE",
"lower_bound": 1,
diff --git a/libpldmresponder/fru.cpp b/libpldmresponder/fru.cpp
index be8f573..0eb3d33 100644
--- a/libpldmresponder/fru.cpp
+++ b/libpldmresponder/fru.cpp
@@ -66,7 +66,7 @@
std::string s = tmpObj.top();
tmpObj.pop();
}
- // Update pldm entity to assocition tree
+ // Update pldm entity to association tree
std::string prePath = tmpObjPaths.top();
while (!tmpObjPaths.empty())
{
@@ -245,7 +245,7 @@
}
catch (const std::exception& e)
{
- error("Failed to make a d-bus call Asociation, error - {ERROR}",
+ error("Failed to make a d-bus call Association, error - {ERROR}",
"ERROR", e);
return {};
}
diff --git a/libpldmresponder/fru_parser.hpp b/libpldmresponder/fru_parser.hpp
index f9be6f3..9e59f11 100644
--- a/libpldmresponder/fru_parser.hpp
+++ b/libpldmresponder/fru_parser.hpp
@@ -124,7 +124,7 @@
*/
void setupDefaultDBusLookup(const std::filesystem::path& fruMasterJsonPath);
- /** @brief Build the default FRU record informations
+ /** @brief Build the default FRU record information
*/
void setupDefaultFruRecordMap();
diff --git a/libpldmresponder/oem_handler.hpp b/libpldmresponder/oem_handler.hpp
index 3b14ea8..68c844b 100644
--- a/libpldmresponder/oem_handler.hpp
+++ b/libpldmresponder/oem_handler.hpp
@@ -28,7 +28,7 @@
* equal to composite sensor count in number
*
* @return - Success or failure in getting the states. Returns failure in
- * terms of PLDM completion codes if fetching atleast one state
+ * terms of PLDM completion codes if fetching at least one state
* fails
*/
virtual int getOemStateSensorReadingsHandler(
@@ -51,7 +51,7 @@
* @param[in] effecterId - Effecter id
*
* @return - Success or failure in setting the states.Returns failure in
- * terms of PLDM completion codes if atleast one state fails to
+ * terms of PLDM completion codes if at least one state fails to
* be set
*/
virtual int oemSetStateEffecterStatesHandler(
diff --git a/libpldmresponder/platform.hpp b/libpldmresponder/platform.hpp
index b045d84..e43058e 100644
--- a/libpldmresponder/platform.hpp
+++ b/libpldmresponder/platform.hpp
@@ -320,7 +320,7 @@
* @param[in] stateField - The state field data for each of the states,
* equal to composite effecter count in number
* @return - Success or failure in setting the states. Returns failure in
- * terms of PLDM completion codes if atleast one state fails to be set
+ * terms of PLDM completion codes if at least one state fails to be set
*/
template <class DBusInterface>
int setStateEffecterStatesHandler(
diff --git a/libpldmresponder/platform_numeric_effecter.hpp b/libpldmresponder/platform_numeric_effecter.hpp
index 274357c..86f72c9 100644
--- a/libpldmresponder/platform_numeric_effecter.hpp
+++ b/libpldmresponder/platform_numeric_effecter.hpp
@@ -242,7 +242,7 @@
* @param[in] effecterValueLength - The setting value length of numeric
* effecter being requested.
* @return - Success or failure in setting the states. Returns failure in
- * terms of PLDM completion codes if atleast one state fails to be set
+ * terms of PLDM completion codes if at least one state fails to be set
*/
template <class DBusInterface, class Handler>
int setNumericEffecterValueHandler(const DBusInterface& dBusIntf,
@@ -344,7 +344,7 @@
* @param[in] PropertyValue - D-Bus Value
* @param[in] effecterDataSize - effecter value size.
* @param[in,out] responsePtr - Response of getNumericEffecterValue.
- * @param[in] responsePayloadLength - reponse length.
+ * @param[in] responsePayloadLength - response length.
* @param[in] instanceId - instance id for response
*
* @return PLDM_SUCCESS/PLDM_ERROR
@@ -427,7 +427,7 @@
* @param[in] PropertyValue - Variant contains the D-Bus Value
* @param[in] effecterDataSize - effecter value size.
* @param[in,out] responsePtr - Response of getNumericEffecterValue.
- * @param[in] responsePayloadLength - reponse length.
+ * @param[in] responsePayloadLength - response length.
* @param[in] instanceId - instance id for response
*
* @return PLDM_SUCCESS/PLDM_ERROR
diff --git a/libpldmresponder/platform_state_effecter.hpp b/libpldmresponder/platform_state_effecter.hpp
index 201b283..106cbc1 100644
--- a/libpldmresponder/platform_state_effecter.hpp
+++ b/libpldmresponder/platform_state_effecter.hpp
@@ -32,7 +32,7 @@
* @param[in] stateField - The state field data for each of the states,
* equal to composite effecter count in number
* @return - Success or failure in setting the states. Returns failure in
- * terms of PLDM completion codes if atleast one state fails to be set
+ * terms of PLDM completion codes if at least one state fails to be set
*/
template <class DBusInterface, class Handler>
int setStateEffecterStatesHandler(
diff --git a/libpldmresponder/platform_state_sensor.hpp b/libpldmresponder/platform_state_sensor.hpp
index 4fab000..d0276e5 100644
--- a/libpldmresponder/platform_state_sensor.hpp
+++ b/libpldmresponder/platform_state_sensor.hpp
@@ -75,7 +75,7 @@
* @param[out] stateField - The state field data for each of the states,
* equal to composite sensor count in number
* @return - Success or failure in setting the states. Returns failure in
- * terms of PLDM completion codes if atleast one state fails to be set
+ * terms of PLDM completion codes if at least one state fails to be set
*/
template <class DBusInterface, class Handler>
int getStateSensorReadingsHandler(
diff --git a/libpldmresponder/test/libpldmresponder_bios_config_test.cpp b/libpldmresponder/test/libpldmresponder_bios_config_test.cpp
index 5c0e779..ea29015 100644
--- a/libpldmresponder/test/libpldmresponder_bios_config_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_bios_config_test.cpp
@@ -27,7 +27,7 @@
class TestBIOSConfig : public ::testing::Test
{
public:
- static void SetUpTestCase() // will execute once at the begining of all
+ static void SetUpTestCase() // will execute once at the beginning of all
// TestBIOSConfig objects
{
char tmpdir[] = "/tmp/BIOSTables.XXXXXX";
@@ -305,7 +305,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
uint16_t attrHandle{10};
@@ -351,7 +351,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
attrValueEntry[0] = attrHandle & 0xff;
diff --git a/libpldmresponder/test/libpldmresponder_bios_enum_attribute_test.cpp b/libpldmresponder/test/libpldmresponder_bios_enum_attribute_test.cpp
index 98161a0..1521fcb 100644
--- a/libpldmresponder/test/libpldmresponder_bios_enum_attribute_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_bios_enum_attribute_test.cpp
@@ -109,7 +109,7 @@
2, 0, /* possible value handle */
3, 0, /* possible value handle */
1, /* number of default value */
- 1 /* defaut value string handle index */
+ 1 /* default value string handle index */
};
std::vector<uint8_t> expectedAttrValueEntry{
@@ -214,7 +214,7 @@
2, 0, /* possible value handle */
3, 0, /* possible value handle */
1, /* number of default value */
- 1 /* defaut value string handle index */
+ 1 /* default value string handle index */
};
ON_CALL(biosStringTable, findString(2))
diff --git a/libpldmresponder/test/libpldmresponder_bios_integer_attribute_test.cpp b/libpldmresponder/test/libpldmresponder_bios_integer_attribute_test.cpp
index f016649..6d4026a 100644
--- a/libpldmresponder/test/libpldmresponder_bios_integer_attribute_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_bios_integer_attribute_test.cpp
@@ -107,7 +107,7 @@
1, 0, 0, 0, 0, 0, 0, 0, /* lower bound */
15, 0, 0, 0, 0, 0, 0, 0, /* upper bound */
1, 0, 0, 0, /* scalar increment */
- 2, 0, 0, 0, 0, 0, 0, 0, /* defaut value */
+ 2, 0, 0, 0, 0, 0, 0, 0, /* default value */
};
std::vector<uint8_t> expectedAttrValueEntry{
0, 0, /* attr handle */
diff --git a/libpldmresponder/test/libpldmresponder_bios_string_attribute_test.cpp b/libpldmresponder/test/libpldmresponder_bios_string_attribute_test.cpp
index 06c1f6c..08c8ea7 100644
--- a/libpldmresponder/test/libpldmresponder_bios_string_attribute_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_bios_string_attribute_test.cpp
@@ -103,7 +103,7 @@
0, 0, /* attr handle */
0x81, /* attr type string read-only */
3, 0, /* current string length */
- 'a', 'b', 'c', /* defaut value string handle index */
+ 'a', 'b', 'c', /* default value string handle index */
};
ON_CALL(biosStringTable, findHandle(StrEq("str_example1")))
@@ -154,7 +154,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
checkConstructEntry(stringReadWrite, biosStringTable, expectedAttrEntry,
@@ -191,7 +191,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
auto entry = reinterpret_cast<pldm_bios_attr_val_table_entry*>(
attrValueEntry.data());
diff --git a/libpldmresponder/test/libpldmresponder_systemspecific_bios_test.cpp b/libpldmresponder/test/libpldmresponder_systemspecific_bios_test.cpp
index 1b84204..0c7cc8c 100644
--- a/libpldmresponder/test/libpldmresponder_systemspecific_bios_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_systemspecific_bios_test.cpp
@@ -27,7 +27,7 @@
class TestSystemSpecificBIOSConfig : public ::testing::Test
{
public:
- static void SetUpTestCase() // will execute once at the begining of all
+ static void SetUpTestCase() // will execute once at the beginning of all
// TestSystemSpecificBIOSConfig objects
{
char tmpdir[] = "/tmp/BIOSTables.XXXXXX";
@@ -386,7 +386,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
uint16_t attrHandle{10};
@@ -395,7 +395,7 @@
auto rc = biosConfig.setAttrValue(attrValueEntry.data(),
attrValueEntry.size(), false);
- std::cout << "Error in settig Attribute " << rc << std::endl;
+ std::cout << "Error in setting Attribute " << rc << std::endl;
EXPECT_EQ(rc, PLDM_BIOS_TABLE_UNAVAILABLE);
}
@@ -436,7 +436,7 @@
0, 0, /* attr handle */
1, /* attr type string read-write */
4, 0, /* current string length */
- 'a', 'b', 'c', 'd', /* defaut value string handle index */
+ 'a', 'b', 'c', 'd', /* default value string handle index */
};
attrValueEntry[0] = attrHandle & 0xff;
diff --git a/oem/ibm/libpldmresponder/file_io.cpp b/oem/ibm/libpldmresponder/file_io.cpp
index b547b5b..57b89ba 100644
--- a/oem/ibm/libpldmresponder/file_io.cpp
+++ b/oem/ibm/libpldmresponder/file_io.cpp
@@ -100,7 +100,7 @@
{
rc = -errno;
error(
- "Failed to execute the DMA operation for transfering remote terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'",
+ "Failed to execute the DMA operation for transferring remote terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'",
"RC", rc, "ADDRESS", address, "LENGTH", length);
return rc;
}
@@ -112,7 +112,7 @@
rc = -errno;
close(fd);
error(
- "Failed to write to Unix socket, closing socket for transfering remote terminus data to socket with response code '{RC}'",
+ "Failed to write to Unix socket, closing socket for transferring remote terminus data to socket with response code '{RC}'",
"RC", rc);
return rc;
}
diff --git a/oem/ibm/libpldmresponder/file_io_type_cert.cpp b/oem/ibm/libpldmresponder/file_io_type_cert.cpp
index b9850f3..00d9f0b 100644
--- a/oem/ibm/libpldmresponder/file_io_type_cert.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_cert.cpp
@@ -198,7 +198,7 @@
catch (const std::exception& e)
{
error(
- "Failed to write the set status property for certficate entry, error - {ERROR}",
+ "Failed to write the set status property for certificate entry, error - {ERROR}",
"ERROR", e);
return PLDM_ERROR;
}
diff --git a/oem/ibm/libpldmresponder/file_io_type_dump.cpp b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
index 7ade97b..cda9e16 100644
--- a/oem/ibm/libpldmresponder/file_io_type_dump.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
@@ -265,7 +265,7 @@
catch (const std::exception& e)
{
error(
- "Failed to make a D-bus call to DUMP manager for reseting source dump file '{PATH}' on interface '{INTERFACE}', error - {ERROR}",
+ "Failed to make a D-bus call to DUMP manager for resetting source dump file '{PATH}' on interface '{INTERFACE}', error - {ERROR}",
"PATH", path, "INTERFACE", dumpIntf, "ERROR", e);
pldm::utils::reportError(
"xyz.openbmc_project.bmc.PLDM.fileAck.SourceDumpIdResetFail");
diff --git a/oem/ibm/libpldmresponder/file_io_type_pcie.cpp b/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
index 7a8ca90..420f1cb 100644
--- a/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
@@ -415,7 +415,7 @@
htobe16(singleEntryData->entryLength));
}
// Need to call cable info at the end , because we dont want to parse
- // cable info without parsing the successfull topology successfully
+ // cable info without parsing the successful topology successfully
// Having partial information is of no use.
parseCableInfo();
}
diff --git a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
index 301de47..263a201 100644
--- a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
+++ b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
@@ -446,7 +446,7 @@
while (pos1 != std::string::npos)
{
size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1;
- // Replacing starting from substring to next occurence of char '/'
+ // Replacing starting from substring to next occurrence of char '/'
dbusPath.replace(pos1, pos2 + 1, "");
pos1 = dbusPath.find(toFind);
}
diff --git a/oem/ibm/libpldmresponder/utils.hpp b/oem/ibm/libpldmresponder/utils.hpp
index ac7549f..bfdd251 100644
--- a/oem/ibm/libpldmresponder/utils.hpp
+++ b/oem/ibm/libpldmresponder/utils.hpp
@@ -30,7 +30,7 @@
* @param[in] sock - unix socket
* @param[in] buf - data buffer
* @param[in] blockSize - size of data to write
- * @return on success retruns 0
+ * @return on success returns 0
* on failure returns -1
*/
diff --git a/pldmtool/pldm_bios_cmd.cpp b/pldmtool/pldm_bios_cmd.cpp
index fead185..e859bc1 100644
--- a/pldmtool/pldm_bios_cmd.cpp
+++ b/pldmtool/pldm_bios_cmd.cpp
@@ -698,7 +698,7 @@
if (!stringTable || !attrTable)
{
- std::cout << "StringTable/AttrTable Unavaliable" << std::endl;
+ std::cout << "StringTable/AttrTable Unavailable" << std::endl;
return;
}
@@ -792,7 +792,7 @@
if (!stringTable || !attrTable)
{
- std::cout << "StringTable/AttrTable Unavaliable" << std::endl;
+ std::cout << "StringTable/AttrTable Unavailable" << std::endl;
return;
}
diff --git a/pldmtool/pldm_cmd_helper.hpp b/pldmtool/pldm_cmd_helper.hpp
index 11b7ada..a59bb66 100644
--- a/pldmtool/pldm_cmd_helper.hpp
+++ b/pldmtool/pldm_cmd_helper.hpp
@@ -60,11 +60,11 @@
std::cout << data.dump(4) << std::endl;
}
-/** @brief MCTP socket read/recieve
+/** @brief MCTP socket read/receive
*
* @param[in] requestMsg - Request message to compare against loopback
- * message recieved from mctp socket
- * @param[out] responseMsg - Response buffer recieved from mctp socket
+ * message received from mctp socket
+ * @param[out] responseMsg - Response buffer received from mctp socket
* @param[in] pldmVerbose - verbosity flag - true/false
*
* @return - 0 on success.
diff --git a/pldmtool/pldm_fw_update_cmd.cpp b/pldmtool/pldm_fw_update_cmd.cpp
index 3466e54..25ab259 100644
--- a/pldmtool/pldm_fw_update_cmd.cpp
+++ b/pldmtool/pldm_fw_update_cmd.cpp
@@ -41,7 +41,7 @@
{PLDM_FD_AUX_STATE_IN_PROGRESS_OR_SUCCESS,
"AuxState is In Progress or Success"},
{PLDM_FD_TIMEOUT, "Timeout occurred while performing action"},
- {PLDM_FD_GENERIC_ERROR, "Generic Error has occured"}};
+ {PLDM_FD_GENERIC_ERROR, "Generic Error has occurred"}};
const std::map<uint8_t, const char*> fdReasonCode{
{PLDM_FD_INITIALIZATION, "Initialization of firmware device has occurred"},
diff --git a/pldmtool/pldm_platform_cmd.cpp b/pldmtool/pldm_platform_cmd.cpp
index 34b73b8..19f23fd 100644
--- a/pldmtool/pldm_platform_cmd.cpp
+++ b/pldmtool/pldm_platform_cmd.cpp
@@ -43,7 +43,7 @@
{PLDM_SENSOR_UNAVAILABLE, "Sensor Unavailable"},
{PLDM_SENSOR_STATUSUNKOWN, "Sensor Status Unknown"},
{PLDM_SENSOR_FAILED, "Sensor Failed"},
- {PLDM_SENSOR_INITIALIZING, "Sensor Sensor Intializing"},
+ {PLDM_SENSOR_INITIALIZING, "Sensor Sensor Initializing"},
{PLDM_SENSOR_SHUTTINGDOWN, "Sensor Shutting down"},
{PLDM_SENSOR_INTEST, "Sensor Intest"}};
diff --git a/requester/handler.hpp b/requester/handler.hpp
index 20da26c..3966a4c 100644
--- a/requester/handler.hpp
+++ b/requester/handler.hpp
@@ -637,7 +637,7 @@
* @param[in] eid - endpoint ID of the remote MCTP endpoint
* @param[in] request - PLDM request message
*
- * @return The reponse message and response message length.
+ * @return The response message and response message length.
*/
template <class RequestInterface>
stdexec::sender auto
diff --git a/tools/visualize-pdr/README.md b/tools/visualize-pdr/README.md
index abb68af..0964ef6 100644
--- a/tools/visualize-pdr/README.md
+++ b/tools/visualize-pdr/README.md
@@ -17,8 +17,8 @@
- Graphviz is open source graph visualization software. Graph visualization is
a way of representing structural information as diagrams of abstract graphs
and networks.
- - There are standard package availabe for graphviz for both rpm based as well
- as the debian based sytems, it can be installed using :
+ - There are standard package available for graphviz for both rpm based as well
+ as the debian based systems, it can be installed using :
```bash
RPM Distro : sudo dnf install graphviz