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: I1e57d16dd4e8655d698e272e6ee347d80e2056ba
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/selcommands.cpp b/src/selcommands.cpp
index 0a46c53..51c1d15 100644
--- a/src/selcommands.cpp
+++ b/src/selcommands.cpp
@@ -219,10 +219,10 @@
};
/*
- * A Function to parse common SEL message, a helper funciton
+ * A Function to parse common SEL message, a helper function
* for parseStdSel.
*
- * Note that this function __CANNOT__ be overriden.
+ * Note that this function __CANNOT__ be overridden.
* To add board specific routine, please override parseStdSel.
*/
@@ -557,13 +557,13 @@
if (data[0] == 0x1)
{
errLog = "SYS_PWROK failure";
- /* Also try logging to Critial log file, if available */
+ /* Also try logging to Critical log file, if available */
/* "SYS_PWROK failure,FRU:1" */
}
else if (data[0] == 0x2)
{
errLog = "PCH_PWROK failure";
- /* Also try logging to Critial log file, if available */
+ /* Also try logging to Critical log file, if available */
/* "PCH_PWROK failure,FRU:1" */
}
else
@@ -577,13 +577,13 @@
if (data[0] == 0x0)
{
errLog = "IERR/CATERR";
- /* Also try logging to Critial log file, if available */
+ /* Also try logging to Critical log file, if available */
/* "IERR,FRU:1 */
}
else if (data[0] == 0xB)
{
errLog = "MCERR/CATERR";
- /* Also try logging to Critial log file, if available */
+ /* Also try logging to Critical log file, if available */
/* "MCERR,FRU:1 */
}
else
@@ -601,7 +601,7 @@
else
{
errLog = "Unknown";
- /* Also try logging to Critial log file, if available */
+ /* Also try logging to Critical log file, if available */
/* ""CPU_DIMM_HOT %s,FRU:1" */
}
}
@@ -993,7 +993,7 @@
" Card: " + std::to_string(chNum) + "," +
" Module: " + std::to_string(dimmNum) + "," +
" Rank Number: " + std::to_string(rankNum) + "," +
- " Location: DIMM Unknow";
+ " Location: DIMM Unknown";
}
}