lib/proc.c update pending kernel patch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> In the comments of lib/proc.c are these two lines:
> 
> 	temp%d_over -> temp_max%d (to be changed after kernel patch)
> 	temp%d_hyst -> temp_min%d ("")
> 
> Would anyone object if I change this code to... ?
> 
> 	temp%d_over -> temp_over%d
> 	temp%d_hyst -> temp_hyst%d
> 
> With Linux 2.6.1-rc1 out, that was the intention, right?

Yes, hyst should "point to" hyst in 2.6.1-rc1. But I don't think that
over should point to over. IIRC, there is no "over" files in 2.6
drivers, but "max" files, so I don't think there is anything to change
here (or in other words: I think this comment was bogus).

As a side note, there is still a temperature magnitude bug in w83781d in
2.6, which is "fixed" by exceptions in libsensors. This would need to
be fixed more cleanly, and it would be great to do it before Linux
2.6.1 and lm_sensors 2.8.3 are released. I'll give it a try tomorrow
evening, but anyone feel free to go before I do.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux