mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 11:17:11 +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
|
||||
#ifdef CONFIG_SMP
|
||||
, CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
||||
, (cpu_set_t)CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user