Re: getting dev_dbg() to talk

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

 



On Mon, May 29, 2006 at 05:44:18PM -0600, Jim Cromie wrote:
> 
> Ive just converted some code from printk()s to dev_dbg()s, and things run,
> but I havent succeeded in inducing any output.

Is "DEBUG" enabled before you #include <linux/device.h>"?  If not,
dev_dbg() compiles away to nothing.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux