lkml.org 
[lkml]   [2010]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] drivers/net/mlx4: Use %pV, pr_<level>, printk_once
From
From: Joe Perches <joe@perches.com>
Date: Sat, 10 Jul 2010 10:22:46 -0700

> Remove near duplication of format string constants by using the newly
> introduced vsprintf extention %pV to reduce text by 20k or so.
>
> $ size drivers/net/mlx4/built-in.o*
> text data bss dec hex filename
> 161367 1866 48784 212017 33c31 drivers/net/mlx4/built-in.o
> 142621 1866 46248 190735 2e90f drivers/net/mlx4/built-in.o.new
>
> Use printk_once as appropriate.
> Convert printks to pr_<level>, some bare printks now use pr_cont.
> Remove now unused #define PFX.
>
> Signed-off-by: Joe Perches <joe@perches.com>

Applied, thanks Joe.


\
 
 \ /
  Last update: 2010-07-16 04:11    [W:4.072 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site