lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 15 Jul 2010 19:07:34 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	joe@...ches.com
Cc:	rolandd@...co.com, yevgenyp@...lanox.co.il,
	jackm@....mellanox.co.il, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] drivers/net/mlx4: Use %pV, pr_<level>,
 printk_once

From: Joe Perches <joe@...ches.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@...ches.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ