bmcsensors 2.9.0 compile fix
PATCH 1/1 bmcsensors 2.9.0 compile fix
Skipped content of type multipart/mixed-------------- 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
PATCH 1/1 bmcsensors 2.9.0 compile fix
my bad, thanks :)
Quoted 24 lines · Axel Thimm
Hi,
there are two "sd->" structure deferences missing.
Thanks.
------------------------------------------------------------------------
Index:
./kernel/chips/bmcsensors.c
=================================> RCS file:/home/cvs/lm_sensors2/kernel/chips/bmcsensors.c,vretrieving revision 1.20
diff -u -d -r1.20bmcsensors.ckernel/chips/bmcsensors.c +1
-1@@ -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;