The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=4e17c5fc501d23a444f061fb1b07529ceed68790
commit 4e17c5fc501d23a444f061fb1b07529ceed68790 Author: Andrew Turner <and...@freebsd.org> AuthorDate: 2025-06-24 16:46:54 +0000 Commit: Andrew Turner <and...@freebsd.org> CommitDate: 2025-06-24 17:45:41 +0000 dev/psci: Use an SMCCC return value Switch to the SMCCC not supported macro in smccc_arch_features. This shouldn't be a functional change as the value is identical to the PSCI value it replaces. Reviewed by: bz, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D50977 --- sys/dev/psci/smccc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/psci/smccc.c b/sys/dev/psci/smccc.c index 8e43401338e2..e40a60336d98 100644 --- a/sys/dev/psci/smccc.c +++ b/sys/dev/psci/smccc.c @@ -108,7 +108,7 @@ smccc_arch_features(uint32_t smccc_func_id) MPASS(smccc_version != 0); if (smccc_version == SMCCC_VERSION_1_0) - return (PSCI_RETVAL_NOT_SUPPORTED); + return (SMCCC_RET_NOT_SUPPORTED); return (arm_smccc_invoke(SMCCC_ARCH_FEATURES, smccc_func_id, NULL)); }