lib: fix log typos
Fix these as they are user visible. Found with codespell. Fixes:bacaa27540
("eal: add channel for multi-process communication") Fixes:f05e26051c
("eal: add IPC asynchronous request") Fixes:0cbce3a167
("vfio: skip DMA map failure if already mapped") Fixes:445c6528b5
("power: common interface for guest and host") Fixes:e6c6dc0f96
("power: add p-state driver compatibility") Fixes:8f972312b8
("vhost: support vhost-user") Cc: stable@dpdk.org Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
8980d7da64
commit
0411d61fa9
@ -283,7 +283,7 @@ read_msg(struct mp_msg_internal *m, struct sockaddr_un *s)
|
||||
}
|
||||
|
||||
if (msglen != buflen || (msgh.msg_flags & (MSG_TRUNC | MSG_CTRUNC))) {
|
||||
RTE_LOG(ERR, EAL, "truncted msg\n");
|
||||
RTE_LOG(ERR, EAL, "truncated msg\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -1071,7 +1071,7 @@ rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts,
|
||||
}
|
||||
|
||||
if (gettimeofday(&now, NULL) < 0) {
|
||||
RTE_LOG(ERR, EAL, "Faile to get current time\n");
|
||||
RTE_LOG(ERR, EAL, "Failed to get current time\n");
|
||||
rte_errno = errno;
|
||||
return -1;
|
||||
}
|
||||
|
@ -1294,7 +1294,7 @@ vfio_type1_dma_mem_map(int vfio_container_fd, uint64_t vaddr, uint64_t iova,
|
||||
*/
|
||||
if (errno == EEXIST) {
|
||||
RTE_LOG(DEBUG, EAL,
|
||||
" Memory segment is allready mapped,"
|
||||
" Memory segment is already mapped,"
|
||||
" skipping");
|
||||
} else {
|
||||
RTE_LOG(ERR, EAL,
|
||||
@ -1379,7 +1379,7 @@ vfio_spapr_dma_do_map(int vfio_container_fd, uint64_t vaddr, uint64_t iova,
|
||||
*/
|
||||
if (errno == EBUSY) {
|
||||
RTE_LOG(DEBUG, EAL,
|
||||
" Memory segment is allready mapped,"
|
||||
" Memory segment is already mapped,"
|
||||
" skipping");
|
||||
} else {
|
||||
RTE_LOG(ERR, EAL,
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#define FOPEN_OR_ERR_RET(f, retval) do { \
|
||||
if ((f) == NULL) { \
|
||||
RTE_LOG(ERR, POWER, "File not openned\n"); \
|
||||
RTE_LOG(ERR, POWER, "File not opened\n"); \
|
||||
return retval; \
|
||||
} \
|
||||
} while (0)
|
||||
@ -109,7 +109,7 @@ set_freq_internal(struct rte_power_info *pi, uint32_t idx)
|
||||
if (idx == pi->curr_idx)
|
||||
return 0;
|
||||
|
||||
POWER_DEBUG_TRACE("Freqency[%u] %u to be set for lcore %u\n",
|
||||
POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
|
||||
idx, pi->freqs[idx], pi->lcore_id);
|
||||
if (fseek(pi->f, 0, SEEK_SET) < 0) {
|
||||
RTE_LOG(ERR, POWER, "Fail to set file position indicator to 0 "
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#define FOPEN_OR_ERR_RET(f, retval) do { \
|
||||
if ((f) == NULL) { \
|
||||
RTE_LOG(ERR, POWER, "File not openned\n"); \
|
||||
RTE_LOG(ERR, POWER, "File not opened\n"); \
|
||||
return retval; \
|
||||
} \
|
||||
} while (0)
|
||||
@ -287,7 +287,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n",
|
||||
POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n",
|
||||
target_freq, pi->lcore_id);
|
||||
|
||||
fflush(pi->f_cur_min);
|
||||
@ -310,7 +310,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n",
|
||||
POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n",
|
||||
target_freq, pi->lcore_id);
|
||||
|
||||
fflush(pi->f_cur_max);
|
||||
|
@ -132,7 +132,7 @@ read_fd_message(int sockfd, char *buf, int buflen, int *fds, int max_fds,
|
||||
}
|
||||
|
||||
if (msgh.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) {
|
||||
RTE_LOG(ERR, VHOST_CONFIG, "truncted msg\n");
|
||||
RTE_LOG(ERR, VHOST_CONFIG, "truncated msg\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user