From 3cf2d6be9d0c4c20411765791aa2583567e21726 Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 4 Sep 2024 14:39:43 +0800 Subject: [PATCH] satman coremgmt: code after reboot is unreachable --- src/satman/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index bf8065b..7cfcb22 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -1262,7 +1262,8 @@ fn process_aux_packet( drtioaux::send(0, &drtioaux::Packet::CoreMgmtReply { succeeded: true })?; info!("reboot imminent"); slcr::reboot(); - Ok(()) + + unreachable!(); } drtioaux::Packet::CoreMgmtAllocatorDebugRequest { destination: _destination,