[PATCH] prog/sensors and CONFIG_SYSCTL

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

 



> On a 2.4 kernel, the sensors program displays an error message when in
> can't open the /proc/sys/dev/sensors/. It suggests to load the
> i2c-proc module. However the problem could also comes from the
> CONFIG_SYSCTL parameter which is not enabled in the kernel.
> 
> The attached patch make the error message a little more verbose.
> Please feel free to apply it or not.

I chose a different fix. i2c-proc now fails to compile if sysctl support
is missing, so the case above cannot happen anymore.

Thanks.

-- 
Jean Delvare
http://khali.linux-fr.org/



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

  Powered by Linux