Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83502?usp=email )
Change subject: [only for test] use C23 dialect ......................................................................
[only for test] use C23 dialect
Change-Id: I43f1330cbac46ba580c541319dea1de154d47846 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/Kconfig M src/lib/thread.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/83502/1
diff --git a/src/Kconfig b/src/Kconfig index b778fe3..79c7a62 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -100,7 +100,7 @@
config ALLOW_UNSUPPORTED_C23 bool - default n + default y help C23 dialect is under development. It is experimental and incomplete This option is supported. Don't enable it. diff --git a/src/lib/thread.c b/src/lib/thread.c index 944c75e..554b9dc 100644 --- a/src/lib/thread.c +++ b/src/lib/thread.c @@ -251,7 +251,7 @@
set_current_thread(t);
- t->stack_orig = (uintptr_t)NULL; /* We never free the main thread */ + t->stack_orig = (uintptr_t)(void *)nullptr; /* We never free the main thread */ t->id = 0; t->can_yield = 1;