The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=cecd12ac3b4d98bd52dc0e802a4a38bc72f50e2c

commit cecd12ac3b4d98bd52dc0e802a4a38bc72f50e2c
Author:     tslight <[email protected]>
AuthorDate: 2026-02-26 07:44:44 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2026-03-07 07:51:15 +0000

    use ASMC_FAN_FUNCS2 to avoid trying to read non-existent keys
    
    Signed-off-by: tslight <[email protected]>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/2051
---
 sys/dev/asmc/asmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index 726d52874026..be2d0a118bda 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -305,7 +305,7 @@ static const struct asmc_model asmc_models[] = {
 
        {
          "MacBookPro11,4", "Apple SMC MacBook Pro Retina Core i7 (mid 2015, 
15-inch)",
-         ASMC_SMS_FUNCS_DISABLED, ASMC_FAN_FUNCS, ASMC_LIGHT_FUNCS,
+         ASMC_SMS_FUNCS_DISABLED, ASMC_FAN_FUNCS2, ASMC_LIGHT_FUNCS,
          ASMC_MBP114_TEMPS, ASMC_MBP114_TEMPNAMES, ASMC_MBP114_TEMPDESCS
        },
 

Reply via email to