comments: minor typo fixes
Fixing minor typos in comments
Signed-off-by: Stefan Eicher <stefan.eicher@ypsomed.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/include/logging/log_core.h b/include/logging/log_core.h
index 8fd1226..4e2d67e 100644
--- a/include/logging/log_core.h
+++ b/include/logging/log_core.h
@@ -256,7 +256,7 @@
))
/*****************************************************************************/
-/****************** Defiinitions used by minimal logging *********************/
+/****************** Definitions used by minimal logging *********************/
/*****************************************************************************/
void z_log_minimal_hexdump_print(int level, const void *data, size_t size);
void z_log_minimal_vprintk(const char *fmt, va_list ap);
diff --git a/include/logging/log_msg2.h b/include/logging/log_msg2.h
index 1f14da6..ba30bd7 100644
--- a/include/logging/log_msg2.h
+++ b/include/logging/log_msg2.h
@@ -103,7 +103,7 @@
*/
enum z_log_msg2_mode {
/* Runtime mode is least efficient but supports all cases thus it is
- * threated as a fallback method when others cannot be used.
+ * treated as a fallback method when others cannot be used.
*/
Z_LOG_MSG2_MODE_RUNTIME,
/* Mode creates statically a string package on stack and calls a
diff --git a/include/logging/log_output_dict.h b/include/logging/log_output_dict.h
index b07f9ea..4467b7b 100644
--- a/include/logging/log_output_dict.h
+++ b/include/logging/log_output_dict.h
@@ -47,7 +47,7 @@
uint16_t num_dropped_messages;
} __packed;
-/** @brief Process log messages v2 for dictionary-basde logging.
+/** @brief Process log messages v2 for dictionary-based logging.
*
* Function is using provided context with the buffer and output function to
* process formatted string and output the data.
diff --git a/kernel/mailbox.c b/kernel/mailbox.c
index 0e34893..18e5c14 100644
--- a/kernel/mailbox.c
+++ b/kernel/mailbox.c
@@ -368,7 +368,7 @@
* or if the data should consumed immediately and the message disposed of.
*
* The data is consumed immediately in either of the following cases:
- * 1) The receiver requested immediate retrieval by suppling a buffer
+ * 1) The receiver requested immediate retrieval by supplying a buffer
* to receive the data.
* 2) There is no data to be retrieved. (i.e. Data size is 0 bytes.)
*
diff --git a/kernel/mmu.c b/kernel/mmu.c
index cfc75da..72f8bf9 100644
--- a/kernel/mmu.c
+++ b/kernel/mmu.c
@@ -513,7 +513,7 @@
if (ret != 0) {
/* TODO: call k_mem_unmap(dst, pos - dst) when
- * implmented in #28990 and release any guard virtual
+ * implemented in #28990 and release any guard virtual
* page as well.
*/
dst = NULL;
diff --git a/kernel/poll.c b/kernel/poll.c
index 53119c3..b4e3897 100644
--- a/kernel/poll.c
+++ b/kernel/poll.c
@@ -652,7 +652,7 @@
SYS_PORT_TRACING_FUNC_ENTER(k_work_poll, submit_to_queue, work_q, work, timeout);
- /* Take overship of the work if it is possible. */
+ /* Take ownership of the work if it is possible. */
key = k_spin_lock(&lock);
if (work->workq != NULL) {
if (work->workq == work_q) {
diff --git a/kernel/work.c b/kernel/work.c
index 6682b97..7d32c73 100644
--- a/kernel/work.c
+++ b/kernel/work.c
@@ -104,7 +104,7 @@
*
* Reschedules.
*
- * @param work the work structre that has completed cancellation
+ * @param work the work structure that has completed cancellation
*/
static void finalize_cancel_locked(struct k_work *work)
{