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: I25415165df192cfc3bd1405aca81bfa5bf2f7a63
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/dsp/pdr.c b/src/dsp/pdr.c
index 09e87be..d5b3173 100644
--- a/src/dsp/pdr.c
+++ b/src/dsp/pdr.c
@@ -496,7 +496,7 @@
assert(start != NULL);
/* Insert after the the last node that matches the input entity type, or
- * at the end if no such match occurrs
+ * at the end if no such match occurs
*/
while (start->next_sibling != NULL) {
uint16_t this_type = start->entity.entity_type;
@@ -1302,7 +1302,7 @@
*entities = l_entities;
}
-/* Find the postion of record in pldm_pdr repo and place new_record in
+/* Find the position of record in pldm_pdr repo and place new_record in
* the same position.
*/
static int pldm_pdr_replace_record(pldm_pdr *repo, pldm_pdr_record *record,