summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-04-01 10:54:25 +0300
committerSimon Glass <sjg@chromium.org>2023-04-28 20:30:17 +0300
commit9963b1f5b80ad3923ff5100a4b91ab1906521ff2 (patch)
tree67d5a6c5edacce09e5b1fb916e5d5291e1ba0eda /arch/sandbox/cpu
parent278c9b22ba109a0c5aa946905dcd83caea85090f (diff)
downloadu-boot-9963b1f5b80ad3923ff5100a4b91ab1906521ff2.tar.xz
sandbox: mark sandbox_exit() as no return.
Fix a -Wimplicit-fallthrough warning in sandbox_sysreset_request(). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu')
-rw-r--r--arch/sandbox/cpu/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c
index 248d17a85c..51496338ad 100644
--- a/arch/sandbox/cpu/cpu.c
+++ b/arch/sandbox/cpu/cpu.c
@@ -31,7 +31,7 @@ static struct udevice *map_dev;
unsigned long map_len;
#endif
-void sandbox_exit(void)
+void __noreturn sandbox_exit(void)
{
/* Do this here while it still has an effect */
os_fd_restore();