All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bmcsensors 2.9.0 compile fix
@ 2005-05-19  6:25 Axel Thimm
  2005-05-19  6:25 ` Mark Studebaker
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Thimm @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] bmcsensors 2.9.0 compile fix
  2005-05-19  6:25 [PATCH] bmcsensors 2.9.0 compile fix Axel Thimm
@ 2005-05-19  6:25 ` Mark Studebaker
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Studebaker @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

my bad, thanks :)

Axel Thimm wrote:
> Hi,
> 
> there are two "sd->" structure deferences missing.
> 
> Thanks.
> 
> 
> ------------------------------------------------------------------------
> 
> 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 [PATCH] bmcsensors 2.9.0 compile fix Axel Thimm
2005-05-19  6:25 ` Mark Studebaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.