Skip to content

Commit

Permalink
Coverity/24.06: fix code scan issues (#884)
Browse files Browse the repository at this point in the history
Signed-off-by: Ric Li <ming3.li@intel.com>
  • Loading branch information
ricmli committed Jun 3, 2024
1 parent 27481f8 commit fd9437e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/sample/rx_st20p_timing_parser_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static void rx_st20p_tp_stat_init(struct rx_tp_stat* stat) {
stat->vrx_min = INT_MAX;
stat->ipt_max = INT_MIN;
stat->ipt_min = INT_MAX;
stat->fpt_min = INT_MIN;
stat->fpt_max = INT_MIN;
stat->fpt_min = INT_MAX;
stat->latency_max = INT_MIN;
stat->latency_min = INT_MAX;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/udp/udp_rxq.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ int mur_client_timedwait(struct mur_client* c, unsigned int timedwait_us,
c->stat_timedwait++;
mt_pthread_mutex_lock(&c->lcore_wake_mutex);
ret = mt_pthread_cond_timedwait_ns(&c->lcore_wake_cond, &c->lcore_wake_mutex,
timedwait_us * NS_PER_US);
(uint64_t)timedwait_us * NS_PER_US);
dbg("%s(%u), timedwait ret %d\n", __func__, q->dst_port, ret);
mt_pthread_mutex_unlock(&c->lcore_wake_mutex);

Expand Down

0 comments on commit fd9437e

Please sign in to comment.