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: I0d3acfeb002b6e3e8356b4f1c2a960c53ecadf2e
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/README b/README
index c83d1b2..29db34c 100644
--- a/README
+++ b/README
@@ -59,6 +59,6 @@
type : This points to the ChannelType. It can be ME or ipmb channel.
slave-path : The ipmb device path.
bmc-addr : This is BMC target address to communicate between BMC and device.
-remote-addr : This is Remote/requestor target address to communicate between BMC and device.
+remote-addr : This is Remote/requester target address to communicate between BMC and device.
devIndex : This devIndex used to identify the particular device/host.
diff --git a/ipmbbridged.cpp b/ipmbbridged.cpp
index 1907c75..526983a 100644
--- a/ipmbbridged.cpp
+++ b/ipmbbridged.cpp
@@ -362,7 +362,7 @@
goto end;
}
- /* Substract first byte len size from total frame length */
+ /* Subtract first byte len size from total frame length */
r--;
if ((r < ipmbMinFrameLength) || (r > ipmbMaxFrameLength))
@@ -370,7 +370,7 @@
goto end;
}
- // valiate the frame
+ // validate the frame
if (!isFrameValid(ipmbFrame, r))
{
goto end;
diff --git a/ipmbbridged.hpp b/ipmbbridged.hpp
index aa6a200..b8f708a 100644
--- a/ipmbbridged.hpp
+++ b/ipmbbridged.hpp
@@ -58,7 +58,7 @@
constexpr uint8_t ipmbI2cNumberOfRetries = 2;
/**
- * @brief Ipmb boardcast address
+ * @brief Ipmb broadcast address
*/
constexpr uint8_t broadcastAddress = 0x0;