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>
This commit is contained in:
parent
a81f8af701
commit
fbe7d7297e
7 changed files with 7 additions and 7 deletions
|
@ -256,7 +256,7 @@ extern "C" {
|
|||
))
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************** 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);
|
||||
|
|
|
@ -103,7 +103,7 @@ union log_msg2_generic {
|
|||
*/
|
||||
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
|
||||
|
|
|
@ -47,7 +47,7 @@ struct log_dict_output_dropped_msg_t {
|
|||
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.
|
||||
|
|
|
@ -368,7 +368,7 @@ void k_mbox_data_get(struct k_mbox_msg *rx_msg, void *buffer)
|
|||
* 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.)
|
||||
*
|
||||
|
|
|
@ -513,7 +513,7 @@ void *k_mem_map(size_t size, uint32_t flags)
|
|||
|
||||
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;
|
||||
|
|
|
@ -652,7 +652,7 @@ int k_work_poll_submit_to_queue(struct k_work_q *work_q,
|
|||
|
||||
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) {
|
||||
|
|
|
@ -104,7 +104,7 @@ static inline void init_work_cancel(struct z_work_canceller *canceler,
|
|||
*
|
||||
* 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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue