This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 634813bd1059fe4bd5096644763138ee7dc728fb Author: wangyongrong <[email protected]> AuthorDate: Fri May 29 17:18:54 2026 +0800 drivers/rpmsg: check the result of work_queue_setpriority_wq() Same as for rpmsg_create_wqueues(): DEBUGVERIFY(x == 0) never fires because DEBUGVERIFY() checks for a negative value. Pass the return value of work_queue_setpriority_wq() itself. Signed-off-by: wangyongrong <[email protected]> --- drivers/rpmsg/rpmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rpmsg/rpmsg.c b/drivers/rpmsg/rpmsg.c index 7725f9c8268..75d0db384dc 100644 --- a/drivers/rpmsg/rpmsg.c +++ b/drivers/rpmsg/rpmsg.c @@ -1061,7 +1061,7 @@ int rpmsg_queue_work(FAR struct rpmsg_s *rpmsg, int priority, if (wqueues[i].priority == 0) { DEBUGVERIFY(work_queue_setpriority_wq(wqueues[i].kwqueue, - priority) == 0); + priority)); wqueues[i].priority = priority; idx = i; break;
