[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1254427068.1799.88.camel@Joe-Laptop.home>
Date: Thu, 01 Oct 2009 12:57:47 -0700
From: Joe Perches <joe@...ches.com>
To: David Daney <ddaney@...iumnetworks.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [RFC PATCH] kernel.h: Add pr_debug_noopt
On Thu, 2009-10-01 at 12:44 -0700, David Daney wrote:
> Joe Perches wrote:
> > --- a/include/linux/kernel.h
> > +++ b/include/linux/kernel.h
> > @@ -380,6 +380,8 @@ static inline char *pack_hex_byte(char *buf, u8 byte)
> > printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
> > #define pr_info(fmt, ...) \
> > printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
> > +#define pr_debug_noopt(fmt, ...) \
> > + printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
> To me, 'noopt' is too much like 'nop'.
noopt is not ideal. I'd prefer pr_dbg.
> How about 'mand' or 'ungated' or something similar?
Maybe pr_debug_always which is just 1 letter longer
--
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