Skip to content

Commit

Permalink
drivers/rpmsg: Fix a typo error of rpmsg_device_destory()
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu3 <[email protected]>
  • Loading branch information
JianyuWang0623 authored and xiaoxiang781216 committed Sep 24, 2024
1 parent b8029d2 commit 73b7128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rpmsg/rpmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ void rpmsg_device_destory(FAR struct rpmsg_s *rpmsg)
#endif

nxrmutex_lock(&rpmsg->lock);
metal_list_for_each_safe(&rpmsg->bind, node, tmp)
metal_list_for_each_safe(&rpmsg->bind, tmp, node)
{
FAR struct rpmsg_bind_s *bind =
metal_container_of(node, struct rpmsg_bind_s, node);
Expand Down

0 comments on commit 73b7128

Please sign in to comment.