Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 16:43:11 +0000
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        tslight <tslight@pm.com>
Subject:   git: ca93c983ab94 - stable/14 - use ASMC_FAN_FUNCS2 to avoid trying to read non-existent keys
Message-ID:  <69ecef1f.47039.7dac181c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by ngie:

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

commit ca93c983ab9480264fe867b49b44b03578baeae2
Author:     tslight <tslight@pm.com>
AuthorDate: 2026-02-26 07:44:44 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-04-25 16:43:06 +0000

    use ASMC_FAN_FUNCS2 to avoid trying to read non-existent keys
    
    Signed-off-by: tslight <tslight@pm.com>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/2051
    (cherry picked from commit cecd12ac3b4d98bd52dc0e802a4a38bc72f50e2c)
---
 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 adacf98ed9e0..4bba16fa6a89 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -311,7 +311,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
 	},
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ecef1f.47039.7dac181c>