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: I3a5360efb5b6a71d5eabb557accf939cd6abc864
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/fault-monitor/operational-status-monitor.cpp b/fault-monitor/operational-status-monitor.cpp
index ea9a8e3..e5b0c7f 100644
--- a/fault-monitor/operational-status-monitor.cpp
+++ b/fault-monitor/operational-status-monitor.cpp
@@ -33,7 +33,7 @@
if (!value)
{
lg2::error(
- "Faild to get the Functional property, INVENTORY_PATH = {PATH}",
+ "Failed to get the Functional property, INVENTORY_PATH = {PATH}",
"PATH", invObjectPath);
return;
}
diff --git a/manager/lamptest/lamptest.hpp b/manager/lamptest/lamptest.hpp
index f4fb5c5..21fd3b5 100644
--- a/manager/lamptest/lamptest.hpp
+++ b/manager/lamptest/lamptest.hpp
@@ -73,8 +73,8 @@
bool processLEDUpdates(const ActionSet& ledsAssert,
const ActionSet& ledsDeAssert);
- /** @brief Clear LEDs triggerred by lamptest
- * When system reboots during lamptest, leds triggerred by lamptest needs to
+ /** @brief Clear LEDs triggered by lamptest
+ * When system reboots during lamptest, leds triggered by lamptest needs to
* be cleared in the upcoming boot. This method clears all the leds along
* with the persisted lamp test indicator file so that there is no sign of
* lamptest.
diff --git a/manager/led-main.cpp b/manager/led-main.cpp
index ba7ee44..47d97dc 100644
--- a/manager/led-main.cpp
+++ b/manager/led-main.cpp
@@ -62,7 +62,7 @@
#ifdef USE_LAMP_TEST
phosphor::led::LampTest lampTest(event, manager);
- // Clear leds triggerred by lamp test in previous boot
+ // Clear leds triggered by lamp test in previous boot
lampTest.clearLamps();
groups.emplace_back(std::make_unique<phosphor::led::Group>(
diff --git a/scripts/led-set-all-groups-asserted.sh b/scripts/led-set-all-groups-asserted.sh
index d67f9b0..9f404dc 100755
--- a/scripts/led-set-all-groups-asserted.sh
+++ b/scripts/led-set-all-groups-asserted.sh
@@ -30,7 +30,7 @@
exit 1;
fi
-# Get the excluded groups, where $@ is all the agruments passed
+# Get the excluded groups, where $@ is all the arguments passed
index=2;
excluded_groups=""