[PATCH 2.6] Fix debug bug in lm83 driver

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

 



On Sun, Jan 11, 2004 at 05:51:23PM +0100, Jean Delvare wrote:
> Hi Greg,
> 
> The following patch fixes lm83 failing to compile if DEBUG is set.

Applied.

> BTW, how does one enable DEBUG? I tried to add "-DDEBUG" in the main
> Makefile with no success, then I tried to add "#define DEBUG" in the
> driver itself but it didn't work either. I had to run the correct
> compilation command directly by myself with -DDEBUG to get it to work. I
> just can't understand why the two other ways (especially the second)
> fails to work. Does Voodoo magic surround us? Help! ;)

Add #define DEBUG at the start of the file, no vodo magic needed :)

thanks,

greg k-h



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

  Powered by Linux