This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9ecaa022c8bc8753545ce43cc101f16ae17c8f41 Author: yinshengkai <yinsheng...@xiaomi.com> AuthorDate: Wed Mar 15 11:27:17 2023 +0800 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 <yinsheng...@xiaomi.com> --- drivers/note/note_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/note/note_driver.c b/drivers/note/note_driver.c index 586f6fac3d..210d24e971 100644 --- a/drivers/note/note_driver.c +++ b/drivers/note/note_driver.c @@ -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 } };