Re: [PATCH] staging: ozwpan: Use normal Makefile, convert oz_traceto oz_dbg

From: Joe Perches
Date: Wed Jun 26 2013 - 10:19:14 EST


On Wed, 2013-06-26 at 06:56 -0700, Joe Perches wrote:
> On Wed, 2013-06-26 at 12:53 +0100, Rupesh Gujare wrote:
> > Above macros look good, however Greg have objection to define new macros
> > & he had suggested to use dev_dbg() & pr_debug().

These macros already use pr_debug and should
use dev_dbg and netdev_dbg where appropriate
and possible. These uses also don't depend
on a single saved global "struct device *".

The grouping/verbose flags are just as you
use them now, but a lot simpler and allow
an easy conversion to a runtime module_param.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/