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: Id21d7e92aa899635af034ff1ddeefabedd08660e
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/README.md b/README.md
index 71a213b..5f8590c 100644
--- a/README.md
+++ b/README.md
@@ -266,7 +266,7 @@
the IPMI packet.
DBus requires all element names to be non-empty strings of ASCII characters
-"[A-Z][a-z][0-9]\_", seperated by ASCII '/'. Therefore, all device names will be
+"[A-Z][a-z][0-9]\_", separated by ASCII '/'. Therefore, all device names will be
valid ASCII strings (1 byte/character).
For convenience, the name string is followed by a single 0x00 (NULL terminator)
diff --git a/eth.cpp b/eth.cpp
index 8ee1397..1a68f9d 100644
--- a/eth.cpp
+++ b/eth.cpp
@@ -32,7 +32,7 @@
namespace ipmi
{
-// TOOD(venture): The ipmid.h has this macro, which is a header we
+// TODO(venture): The ipmid.h has this macro, which is a header we
// can't normally access.
#ifndef MAX_IPMI_BUFFER
#define MAX_IPMI_BUFFER 64
diff --git a/test/helper.hpp b/test/helper.hpp
index c76fc37..f0a10e8 100644
--- a/test/helper.hpp
+++ b/test/helper.hpp
@@ -29,7 +29,7 @@
{
// Validate the return code and the data for the IPMI reply.
-// Returns the subcommand and the optional informations.
+// Returns the subcommand and the optional information.
std::pair<std::uint8_t, std::vector<std::uint8_t>>
ValidateReply(::ipmi::RspType<std::uint8_t, std::vector<uint8_t>> reply,
bool hasData = true);