Re: [PATCH] net: broadcom: bnx2x: make a couple of const arrays static

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

 



From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 11 Jul 2017 11:52:23 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Don't populate various tables on the stack but make them static const.
> Makes the object code smaller by nearly 200 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>  113468	  11200	      0	 124668	  1e6fc	bnx2x_ethtool.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>  113129	  11344	      0	 124473	  1e639	bnx2x_ethtool.o
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux