[PATCH 2.6] Fix debug bug in lm83 driver

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

 



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

Hm. I wonder if I should really tell you what I did. I'll be ridiculous.
Hm.

Anyway... My "#define DEBUG" was after all other includes. So dev_dbg
was resolved to nothing. Because the call to dev_dbg was after my
#define, I expected it to resolve correctly...

Shame on me, and thanks for the explanation.

Still doesn't explain why adding -DDEBUG to the main Makefile didn't
do the trick, but I don't have that much time to waste to investigate it
all.

-- 
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