[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120424.004745.1479792296922367681.davem@davemloft.net>
Date: Tue, 24 Apr 2012 00:47:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mcgrof@...not-panic.com
Cc: zambrano@...adcom.com, netdev@...r.kernel.org
Subject: Re: [PATCH] b44: properly use pr_fmt()
From: "Luis R. Rodriguez" <mcgrof@...not-panic.com>
Date: Mon, 23 Apr 2012 19:46:43 -0700
> From: "Luis R. Rodriguez" <mcgrof@...not-panic.com>
>
> pr_fmt() is either defined or we redefine it. Typically
> drivers define it prior to including printk.h but this
> is done under the assumption that no other subsystem
> it uses has already defined pr_fmt(). In such cases
> pr_fmt() should be undefined and redefined.
>
> Doing this properly shaves down compilation time quite
> considerably.
>
> Signed-off-by: Luis R. Rodriguez <mcgrof@...not-panic.com>
Every driver defines pr_fmt then includes the headers. I do not
see any other place which performs the initial undef of pr_fmt
like you want to start doing here.
If there is a reason we should start doing this, it would appear
to be a universal reason, not one specific to this driver. If
that's the case, we should formally agree to this and then work
on gradually converting all the drivers in reasonably sized chunks.
Either way I can't apply this patch as-is, sorry Luis.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists