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/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3bac449286 assert: fix flags type, should be irqstate_t
3bac449286 is described below
commit 3bac4492865ad3bd4c293e9d751163e090634678
Author: Bowen Wang <[email protected]>
AuthorDate: Wed Dec 27 20:42:39 2023 +0800
assert: fix flags type, should be irqstate_t
Signed-off-by: Bowen Wang <[email protected]>
---
sched/misc/assert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sched/misc/assert.c b/sched/misc/assert.c
index b63f664c28..1f0fa0bdd5 100644
--- a/sched/misc/assert.c
+++ b/sched/misc/assert.c
@@ -514,8 +514,8 @@ void _assert(FAR const char *filename, int linenum,
#endif
struct panic_notifier_s notifier_data;
struct utsname name;
+ irqstate_t flags;
bool fatal = true;
- int flags;
#if CONFIG_TASK_NAME_SIZE > 0
if (rtcb->group && !(rtcb->flags & TCB_FLAG_TTYPE_KERNEL))