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: Ib615c5fe1dfb01fc0adedd692524fe145c8c4e82
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/dump/create_pel.cpp b/dump/create_pel.cpp
index 89e1842..d92e570 100644
--- a/dump/create_pel.cpp
+++ b/dump/create_pel.cpp
@@ -62,7 +62,7 @@
         // Refer phosphor-logging/extensions/openpower-pels/README.md section
         // "Self Boot Engine(SBE) First Failure Data Capture(FFDC) Support"
         // for details of related to createPEL with SBE FFDC information
-        // usin g CreateWithFFDCFiles api.
+        // using CreateWithFFDCFiles api.
         pelFFDCInfo.emplace_back(std::make_tuple(
             sdbusplus::xyz::openbmc_project::Logging::server::Create::
                 FFDCFormat::Custom,
diff --git a/dump/create_pel.hpp b/dump/create_pel.hpp
index 5af80f8..3d3b304 100644
--- a/dump/create_pel.hpp
+++ b/dump/create_pel.hpp
@@ -131,7 +131,7 @@
     void writeCalloutData();
 
     /**
-     * Used set ffdc file seek position begining to consume by PEL
+     * Used set ffdc file seek position beginning to consume by PEL
      *
      * @return NULL
      */
diff --git a/dump/tools/bmcdump/plugins/occ b/dump/tools/bmcdump/plugins/occ
index 3e9c805..a2fbfe8 100644
--- a/dump/tools/bmcdump/plugins/occ
+++ b/dump/tools/bmcdump/plugins/occ
@@ -20,7 +20,7 @@
 add_cmd_output "$command" "$file_name" "$desc"
 
 #fetch occ control host data
-desc="occ conrol host"
+desc="occ control host"
 command="busctl call --verbose --no-pager \
                 org.open_power.OCC.Control \
                 /xyz/openbmc_project/control \
diff --git a/dump/tools/bmcdump/plugins/phal_devtree b/dump/tools/bmcdump/plugins/phal_devtree
index bf768ee..f862707 100644
--- a/dump/tools/bmcdump/plugins/phal_devtree
+++ b/dump/tools/bmcdump/plugins/phal_devtree
@@ -32,7 +32,7 @@
     add_copy_file "$file_name" "$desc"
 fi
 
-#copy attribues info db to dump
+#copy attributes info db to dump
 file_name="$PDATA_INFODB"
 desc="Attribute info db"
 if [ -e "$file_name" ]; then
diff --git a/dump/tools/common/include/gendumpheader b/dump/tools/common/include/gendumpheader
index 9c92e9f..201c08a 100644
--- a/dump/tools/common/include/gendumpheader
+++ b/dump/tools/common/include/gendumpheader
@@ -327,7 +327,7 @@
 #Name              Size(bytes)  Value
 #Dump type         8            BMC/NAG DUMP
 #Dump Request time 8            Dump request time stamp (in BCD)
-#Dump Identifier   4            Dump identifer fetched from dump
+#Dump Identifier   4            Dump identifier fetched from dump
 #Dump version      2            0x0210
 #Dump header       2            0x200
 #Total dump size   8            Dump size + dump header
@@ -348,7 +348,7 @@
 #PLID
 #SRC size
 #SRC dump
-#Dump requestor type
+#Dump requester type
 #Dump Req ID
 #Dump Req user ID
 function dump_header() {
@@ -464,7 +464,7 @@
 #Dump Creator BMC        1
 #eventLogId              4
 #fileHeaderSize          2
-####################DATA NOT AVAIABLE##########
+####################DATA NOT AVAILABLE##########
 #srcSize                 2
 #dumpSrc                 332
 #toolType                4
diff --git a/watchdog/ffdc_file.cpp b/watchdog/ffdc_file.cpp
index 5aaa92a..6aa4a00 100644
--- a/watchdog/ffdc_file.cpp
+++ b/watchdog/ffdc_file.cpp
@@ -74,7 +74,7 @@
                    strerror(errno));
 
         throw std::runtime_error(
-            "Failed to seek file postion to the beginning of the file");
+            "Failed to seek file position to the beginning of the file");
     }
 
     // Store file descriptor in FileDescriptor object
diff --git a/watchdog/watchdog_dbus.cpp b/watchdog/watchdog_dbus.cpp
index ed7e750..87aa3f9 100644
--- a/watchdog/watchdog_dbus.cpp
+++ b/watchdog/watchdog_dbus.cpp
@@ -103,7 +103,7 @@
     {
         try
         {
-            // append additional dbus call paramaters
+            // append additional dbus call parameters
             method.append(eventType, levelPelError, additional, ffdc);
 
             // using system dbus