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: Iae81201889d1bb4ca324243b863948cb60420ae7
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/vpd-parser/keyword_vpd_parser.cpp b/vpd-parser/keyword_vpd_parser.cpp
index ca05692..b335c07 100644
--- a/vpd-parser/keyword_vpd_parser.cpp
+++ b/vpd-parser/keyword_vpd_parser.cpp
@@ -28,7 +28,7 @@
auto kwValMap = kwValParser();
- // Donot process these two functions for bono type VPD
+ // Do not process these two functions for bono type VPD
if (!kwVpdType)
{
validateSmallResourceTypeEnd();
@@ -55,7 +55,7 @@
{
kwVpdIterator = keywordVpdVector.begin();
- // Check for large resource type identfier string
+ // Check for large resource type identifier string
if (*kwVpdIterator != KW_VPD_START_TAG)
{
throw std::runtime_error(
diff --git a/vpd-parser/keyword_vpd_parser.hpp b/vpd-parser/keyword_vpd_parser.hpp
index 4466c6b..6b02961 100644
--- a/vpd-parser/keyword_vpd_parser.hpp
+++ b/vpd-parser/keyword_vpd_parser.hpp
@@ -130,7 +130,7 @@
/**
* @brief Check for iterator Out of Bound exception
*
- * Check if no.of elements from (begining of the vector) to (iterator +
+ * Check if no.of elements from (beginning of the vector) to (iterator +
* incVar) is lesser than or equal to the total no.of elements in the
* vector. This check is performed before the advancement of the iterator.
*
diff --git a/vpd-parser/parser_factory.hpp b/vpd-parser/parser_factory.hpp
index ca9f41e..f6f54c3 100644
--- a/vpd-parser/parser_factory.hpp
+++ b/vpd-parser/parser_factory.hpp
@@ -11,7 +11,7 @@
namespace factory
{
/** @class ParserFactory
- * @brief Factory calss to instantiate concrete parser class.
+ * @brief Factory class to instantiate concrete parser class.
*
* This class should be used to instantiate an instance of parser class based
* on the typeof vpd file.
diff --git a/vpd-parser/parser_interface.hpp b/vpd-parser/parser_interface.hpp
index 4ad583f..259ef86 100644
--- a/vpd-parser/parser_interface.hpp
+++ b/vpd-parser/parser_interface.hpp
@@ -19,7 +19,7 @@
* @brief Interface class for vpd parsers.
*
* Any concrete parser class, implementing the parser logic needs to
- * derive from this interface class and ovverride the methods declared
+ * derive from this interface class and override the methods declared
* in this class.
*/
class ParserInterface
@@ -28,7 +28,7 @@
/**
* @brief An api to implement parsing logic for VPD file.
* Needs to be implemented by all the class deriving from
- * parser inerface.
+ * parser interface.
*
* @return parsed format for vpd data, depending upon the
* parsing logic.
@@ -39,7 +39,7 @@
* @brief An api to return interface name which will hold the
* data on cache.
* Needs to be implemented by all the class deriving fronm
- * parser inerface
+ * parser interface
*
* @return - Interface name for that vpd type.
*/