From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Baron Subject: Re: linux-next: driver-core tree build failure Date: Wed, 11 Mar 2009 11:12:51 -0400 Message-ID: <20090311151251.GA3150@redhat.com> References: <20090310192440.949884a1.sfr@canb.auug.org.au> <20090310145311.6bf9d9e9@skybase> <20090310170841.2257de86@skybase> <20090310200200.GB3091@redhat.com> <49B78D60.2070402@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <49B78D60.2070402@sgi.com> Sender: linux-kernel-owner@vger.kernel.org To: Greg Banks Cc: Martin Schwidefsky , Geert Uytterhoeven , Stephen Rothwell , Greg KH , linux-next@vger.kernel.org, Herbert Xu , Linux Kernel Development List-Id: linux-next.vger.kernel.org On Wed, Mar 11, 2009 at 09:07:28PM +1100, Greg Banks wrote: > > I think this patch does the same thing more cleanly. > > When CONFIG_DYNAMIC_DEBUG is enabled, allow callers of pr_debug() > to provide their own definition of pr_fmt() even if that definition > uses tricks like > > #define pr_fmt(fmt) "%s:" fmt, __func__ > patch looks good. I agree its simpler than what I proposed. However, I don't think we want to add pr_fmt() in the dynamic_dev_dbg() path, since dev_dbg() isn't doing that to start with. Other than that, I ack it. thanks, -Jason