From 91345d62afb43ab2b57a894637e2a48ef3c9afca Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Sun, 28 Apr 2019 14:31:57 +0800 Subject: [PATCH] =?UTF-8?q?[components][drivers][ipc]=20=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E5=B7=A5=E4=BD=9C=E5=AF=B9=E8=B1=A1=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=88=90=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/include/ipc/workqueue.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/drivers/include/ipc/workqueue.h b/components/drivers/include/ipc/workqueue.h index 31dbb53ee3..354a30c04e 100644 --- a/components/drivers/include/ipc/workqueue.h +++ b/components/drivers/include/ipc/workqueue.h @@ -74,6 +74,8 @@ rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_wo rt_list_init(&(work->list)); work->work_func = work_func; work->work_data = work_data; + work->flags = 0; + work->type = 0; } void rt_delayed_work_init(struct rt_delayed_work *work, void (*work_func)(struct rt_work *work,