summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/io/amdzen/smntemp.c
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@oxide.computer>2022-11-09 07:00:30 +0000
committerRobert Mustacchi <rm@fingolfin.org>2022-11-16 21:54:43 +0000
commit4adf43b0b51d2123d4add8287f0e31facb0cbab1 (patch)
tree2b2ed7ac807fd843c1a10d6178d9e08f982d3e16 /usr/src/uts/intel/io/amdzen/smntemp.c
parent3cfbf5be38df79575cc7d2705bb059b2feca1332 (diff)
downloadillumos-joyent-4adf43b0b51d2123d4add8287f0e31facb0cbab1.tar.gz
15165 SMN accesses are size-sensitive
Reviewed by: Robert Mustacchi <rm@fingolin.org> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/intel/io/amdzen/smntemp.c')
-rw-r--r--usr/src/uts/intel/io/amdzen/smntemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/intel/io/amdzen/smntemp.c b/usr/src/uts/intel/io/amdzen/smntemp.c
index 94b7aa8b83..43ef57f34e 100644
--- a/usr/src/uts/intel/io/amdzen/smntemp.c
+++ b/usr/src/uts/intel/io/amdzen/smntemp.c
@@ -116,7 +116,7 @@ smntemp_temp_update(smntemp_t *smn, smntemp_temp_t *stt)
ASSERT(MUTEX_HELD((&stt->stt_mutex)));
- if ((ret = amdzen_c_smn_read32(stt->stt_dfno, SMN_SMU_THERMAL_CURTEMP,
+ if ((ret = amdzen_c_smn_read(stt->stt_dfno, SMN_SMU_THERMAL_CURTEMP,
&reg)) != 0) {
return (ret);
}