[lm-sensors] [PATCH 3/7] libsensors4: Compute mapping as a flag

Hans de Goede j.w.r.degoede at hhs.nl
Mon Sep 3 09:53:45 CEST 2007


Jean Delvare wrote:
> The compute mapping value is either SENSORS_NO_MAPPING or the same
> feature number as the logical mapping. This means that the compute
> mapping can be turned into a simple boolean flag. Doing so makes
> struct sensors_feature_data smaller, which saves some memory (about
> 17 kB in my tests.)
> 

Looks good too.

Regards,

Hans




More information about the lm-sensors mailing list