You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/25 05:52:38 UTC
[incubator-nuttx] branch master updated: rptun: fix rptun
rpmsg_unregister_callback fault
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 09778c3 rptun: fix rptun rpmsg_unregister_callback fault
09778c3 is described below
commit 09778c38b1d63f8a8fd02441129bc721c2a33aa9
Author: ligd <li...@xiaomi.com>
AuthorDate: Tue Nov 10 22:20:44 2020 +0800
rptun: fix rptun rpmsg_unregister_callback fault
N/A
Change-Id: I6447e2ec71a4020533336f35e2aa97a860742e63
Signed-off-by: ligd <li...@xiaomi.com>
---
drivers/rptun/rptun.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rptun/rptun.c b/drivers/rptun/rptun.c
index 9effce1..e204fd2 100644
--- a/drivers/rptun/rptun.c
+++ b/drivers/rptun/rptun.c
@@ -786,6 +786,8 @@ void rpmsg_unregister_callback(FAR void *priv_,
metal_list_del(&cb->node);
kmm_free(cb);
+
+ break;
}
}