include: fix typo in (logging, mgmt)

Utilize a code spell-checking tool to scan for and correct spelling errors
in all files within the `include/zephyr/logging` and `mgmt`.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
Pisit Sawangvonganan 2024-07-07 01:18:24 +07:00 committed by Anas Nashif
parent ccc2419465
commit 28eb0eaffd
8 changed files with 9 additions and 9 deletions

View File

@ -128,7 +128,7 @@ struct log_backend {
* @brief Initialize or initiate the logging backend.
*
* If backend initialization takes longer time it could block logging thread
* if backend is autostarted. That is because all backends are initilized in
* if backend is autostarted. That is because all backends are initialized in
* the context of the logging thread. In that case, backend shall provide
* function for polling for readiness (@ref log_backend_is_ready).
*

View File

@ -64,7 +64,7 @@ void z_log_runtime_filters_init(void);
void z_log_links_initiate(void);
/* Activate links.
* Attemp to activate links,
* Attempt to activate links,
*
* @param active_mask Mask with links to activate. N bit set indicates that Nth
* link should be activated.

View File

@ -130,7 +130,7 @@ static inline int log_link_initiate(const struct log_link *link,
/** @brief Activate log link.
*
* Function checks if link is initilized and completes initialization process.
* Function checks if link is initialized and completes initialization process.
* When successfully returns, link is ready with domain and sources count fetched
* and timestamp details updated.
*

View File

@ -154,7 +154,7 @@ void log_output_msg_process(const struct log_output *log_output,
* @param tid Thread ID.
* @param level Criticality level.
* @param package Cbprintf package with a logging message string.
* @param data Data passed to hexdump API. Can bu NULL.
* @param data Data passed to hexdump API. Can be NULL.
* @param data_len Data length.
* @param flags Formatting flags. See @ref LOG_OUTPUT_FLAGS.
*/

View File

@ -349,7 +349,7 @@ bool ec_host_cmd_send_in_progress_ended(void);
* @brief Get final result of a last Host Command that has sent EC_HOST_CMD_IN_PROGRESS status.
*
* A Host Command that sends EC_HOST_CMD_IN_PROGRESS status doesn't send a final result.
* Get the saved status with this function. The status can be get only once. Futher calls return
* Get the saved status with this function. The status can be get only once. Further calls return
* EC_HOST_CMD_UNAVAILABLE.
*
* Saving status of Host Commands that send response data is not supported.

View File

@ -85,7 +85,7 @@ struct os_mgmt_info_check {
/* Structure provided in the MGMT_EVT_OP_OS_MGMT_INFO_APPEND notification callback */
struct os_mgmt_info_append {
/* The format bitmask from the processed commands, the bits should be cleared once
* processed, note that if all_format_specified is specified, the corrisponding bits here
* processed, note that if all_format_specified is specified, the corresponding bits here
* will not be set
*/
uint32_t *format_bitmask;

View File

@ -39,7 +39,7 @@ extern "C" {
*/
/** @cond INTERNAL_HIDDEN */
/** Event which signfies that all event IDs for a particular group should be enabled. */
/** Event which signifies that all event IDs for a particular group should be enabled. */
#define MGMT_EVT_OP_ID_ALL 0xffff
/** Get event for a particular group and event ID. */
@ -67,7 +67,7 @@ enum mgmt_cb_return {
/**
* Group (application-level) error and ``err_group`` contains the group ID that caused
* the error and ``err_rc`` contians the error code of that group to return.
* the error and ``err_rc`` contains the error code of that group to return.
*/
MGMT_CB_ERROR_ERR,
};

View File

@ -53,7 +53,7 @@ enum mcumgr_group_t {
/** Image management group, used for uploading firmware images */
MGMT_GROUP_ID_IMAGE,
/** Statistic management group, used for retieving statistics */
/** Statistic management group, used for retrieving statistics */
MGMT_GROUP_ID_STAT,
/** Settings management (config) group, used for reading/writing settings */