Hi, there are two "sd->" structure deferences missing. Thanks. -- Axel.Thimm at ATrpms.net -------------- next part -------------- Index: ./kernel/chips/bmcsensors.c =================================================================== RCS file: /home/cvs/lm_sensors2/kernel/chips/bmcsensors.c,v retrieving revision 1.20 diff -u -d -r1.20 bmcsensors.c --- ./kernel/chips/bmcsensors.c 4 Dec 2004 21:18:34 -0000 1.20 +++ ./kernel/chips/bmcsensors.c 30 Dec 2004 14:25:25 -0000 @@ -297,7 +297,7 @@ } /* swap lim1/lim2 if m < 0 or function is 1/x (but not both!) */ - if(m < 0 && sd->linear != 7 || m >= 0 && sd->linear == 7) { + if(sd->m < 0 && sd->linear != 7 || sd->m >= 0 && sd->linear == 7) { tmp = sd->lim1; sd->lim1 = sd->lim2; sd->lim2 = tmp; -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041230/aeea8201/attachment.bin