This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new b258680949 rpmsg/rpmsg_ping: tenative fix for build issue b258680949 is described below commit b258680949ff1b119d29df850d2297113135096d Author: Yanfeng Liu <yfliu2...@qq.com> AuthorDate: Thu Feb 8 20:07:29 2024 +0800 rpmsg/rpmsg_ping: tenative fix for build issue rpmsg_ping.c is blocking CI checks for RPTUN related patches like #11673. this patch simply fix the compilation issue of rpmsg_ping.c: - line 191: overflow conversion from "long unsigned int" to "unsigned int" - line 226: "sendlen" used uninitialized Signed-off-by: Yanfeng Liu <yfliu2...@qq.com> --- drivers/rpmsg/rpmsg_ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rpmsg/rpmsg_ping.c b/drivers/rpmsg/rpmsg_ping.c index 4b434a8b5b..fb8e2e739e 100644 --- a/drivers/rpmsg/rpmsg_ping.c +++ b/drivers/rpmsg/rpmsg_ping.c @@ -188,11 +188,11 @@ static void rpmsg_ping_logout_rate(uint64_t len, clock_t avg) int rpmsg_ping(FAR struct rpmsg_endpoint *ept, FAR const struct rpmsg_ping_s *ping) { - clock_t min = ULONG_MAX; + clock_t min = UINT_MAX; clock_t max = 0; uint64_t total = 0; uint32_t buf_len = 0; - int send_len; + int send_len = 0; int i; if (!ept || !ping || ping->times <= 0)