From 7567e429b6e21a151082f1ca2b87336c4b4a8319 Mon Sep 17 00:00:00 2001 From: ligd Date: Sun, 18 Feb 2024 17:13:29 +0800 Subject: [PATCH] syslog_rpmsg: fix coding style Follow the nxstyle Signed-off-by: ligd --- drivers/syslog/syslog_rpmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/syslog/syslog_rpmsg.c b/drivers/syslog/syslog_rpmsg.c index 10852ec15b..080f9ecb4d 100644 --- a/drivers/syslog/syslog_rpmsg.c +++ b/drivers/syslog/syslog_rpmsg.c @@ -198,7 +198,7 @@ static void syslog_rpmsg_addbuf(FAR struct syslog_rpmsg_s *priv, if (len <= 0) { - return; + return; } if (priv->head + len - priv->tail >= priv->size)