Elyes Haouas has uploaded this change for review.

View Change

[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;


To view, visit change 83502. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I43f1330cbac46ba580c541319dea1de154d47846
Gerrit-Change-Number: 83502
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas@noos.fr>