Re: [PATCH 1/6] omap iommu: tlb and pagetable primitives

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

 



On Monday 19 January 2009, Russell King - ARM Linux wrote:
> 
> > > Use dev_vdbg() to get the "NOP unless VERBOSE is set" semantics.
> > 
> > Thanks. This is what I wanted... I'll update with "dev_vdbg()".
> 
> Sorry, drop the 'v' in that (typo).

Not clear what that comment means ... dev_vdbg() is the same as
dev_dbg() *IF* the VERBOSE option is set, and is otherwise a NOP.

That is:  two levels of debug messaging, for use as needed.
As a rule, some Kconfig option will

  ccflags-$(CONFIG_DEBUG_whatever)    += -DDEBUG

to enable DEBUG for that subsystem, and the VERBOSE option
(see <linux/device.h>) is set selectively by hand.

- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux