From: Stephen Hemminger Date: Fri, 16 Oct 2020 00:26:52 +0000 (-0700) Subject: ipc: fix spelling in log and comment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5b183ff611fc7aa4414abb99a31609a379323722;p=dpdk.git ipc: fix spelling in log and comment Fixes spelling in comment and message about thread error. Found while looking at checkpatch complaints about "thead" Signed-off-by: Stephen Hemminger --- diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index 8ba4a29dc4..6d1af3c0e7 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -423,7 +423,7 @@ process_async_request(struct pending_request *sr, const struct timespec *now) /* did we timeout? */ timeout = timespec_cmp(¶m->end, now) <= 0; - /* if we received a response, adjust relevant data and copy mesasge. */ + /* if we received a response, adjust relevant data and copy message. */ if (sr->reply_received == 1 && sr->reply) { struct rte_mp_msg *msg, *user_msgs, *tmp; @@ -630,7 +630,7 @@ rte_mp_channel_init(void) if (rte_ctrl_thread_create(&mp_handle_tid, "rte_mp_handle", NULL, mp_handle, NULL) < 0) { - RTE_LOG(ERR, EAL, "failed to create mp thead: %s\n", + RTE_LOG(ERR, EAL, "failed to create mp thread: %s\n", strerror(errno)); close(mp_fd); close(dir_fd);