What changed, and why it matters
This is a one-line rename of a function in the Unix (emulator) build of the Trezor firmware's power manager. It changes pm_set_soc_limit to pm_set_soc_target to match an updated interface elsewhere. There is no security content visible in the diff.
No security action required. Treat as a normal build fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates core/embed/sys/power_manager/unix/power_manager.c, replacing the stub implementation pm_set_soc_limit(uint8_t limit) with pm_set_soc_target(uint8_t target). This is a build-fixing signature change for the emulator target; the function body remains a no-op returning PM_OK. No logic, bounds checking, memory handling, or cryptographic code is modified.
Changed components
core/embed/sys/power_manager/unix/power_manager.cInspect captured patch +1 / −1
diff --git a/core/embed/sys/power_manager/unix/power_manager.c b/core/embed/sys/power_manager/unix/power_manager.c
index 4e15b2217..eaa21e8b3 100644
--- a/core/embed/sys/power_manager/unix/power_manager.c
+++ b/core/embed/sys/power_manager/unix/power_manager.c
@@ -52,4 +52,4 @@ pm_status_t pm_get_state(pm_state_t* state) {
return PM_OK;
}
-pm_status_t pm_set_soc_limit(uint8_t limit) { return PM_OK; }
+pm_status_t pm_set_soc_target(uint8_t target) { return PM_OK; }
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.