[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200901191442.49561.david-b@pacbell.net>
Date: Mon, 19 Jan 2009 14:42:49 -0800
From: David Brownell <david-b@...bell.net>
To: "Russell King - ARM Linux" <linux@....linux.org.uk>
Cc: Hiroshi DOYU <Hiroshi.DOYU@...ia.com>,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.arm.linux.org.uk, linux-omap@...r.kernel.org
Subject: Re: [PATCH 1/6] omap iommu: tlb and pagetable primitives
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists