Search Linux Wireless

Re: [PATCH 1/2] wireless: properly use pr_fmt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 04/26/2012 02:44 PM, Arend van Spriel wrote:
On 04/24/2012 04:36 AM, Luis R. Rodriguez wrote:
From: "Luis R. Rodriguez"<mcgrof@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>

Hi Luis,

I actually recall some patches removing inclusion of printk.h sometime
ago. Not sure what the motivation was, but I will start digging the git
revision logs.

Gr. AvS


Here it is: https://lkml.org/lkml/2011/5/25/331

Gr. AvS

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


[Linux Kernel]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]     [Free Dating]     [M2M Wireless]

Add to Google Powered by Linux