mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
note: fix assignment warning
note/note_driver.c:154:7: warning: unsigned conversion from ‘int’ to ‘unsigned char’ changes value from ‘65535’ to ‘255’ [-Woverflow]
154 | , CONFIG_SCHED_INSTRUMENTATION_CPUSET
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
d73fb5ca21
commit
9ecaa022c8
@@ -151,7 +151,7 @@ static struct note_filter_s g_note_filter =
|
|||||||
{
|
{
|
||||||
CONFIG_SCHED_INSTRUMENTATION_FILTER_DEFAULT_MODE
|
CONFIG_SCHED_INSTRUMENTATION_FILTER_DEFAULT_MODE
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
, CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
, (cpu_set_t)CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user