mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
drivers/rpmsg: Fix a typo error of rpmsg_device_destory()
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
b8029d28a3
commit
73b7128fb6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue