Skip to contentSkip to conversation

ibmpex: Report temperatures in mC, not C.

PATCH New Darrick J. Wong 1 participant 1 message Mar 13, 2008 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ibmpex: Report temperatures in mC, not C.

ibmpex's temperature sensors report incorrect units. Apply a conversion factor so that tempertures report correctly. Until now, no systems seemed to report temperatures this way, but evidently QS2x blades do.

---

 drivers/hwmon/ibmpex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/ibmpex.c +1 -1
index db551d8..4e9b19c 100644
@@ -410,7 +410,7 @@ static int ibmpex_find_sensors(struct ibmpex_bmc_data *data)
 			sensor_type = TEMP_SENSOR;
 			num_temp++;
 			sensor_counter = num_temp;
-			data->sensors[i].multiplier = 1;
+			data->sensors[i].multiplier = 1000;
 		} else
 			continue;
 

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors