Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1686766

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: broadcom: bnx2x: make a couple of const arrays static
Date 2017-07-13 18:30 +0200
Message-ID <u2Pa2-7UJ-15@gated-at.bofh.it> (permalink)
References <u213A-1g3-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

> From: Colin Ian King <colin.king@canonical.com>
> 
> 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@canonical.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: broadcom: bnx2x: make a couple of const arrays static Colin King <colin.king@canonical.com> - 2017-07-11 13:00 +0200
  RE: [PATCH] net: broadcom: bnx2x: make a couple of const arrays  static "Mintz, Yuval" <Yuval.Mintz@cavium.com> - 2017-07-12 15:50 +0200
  Re: [PATCH] net: broadcom: bnx2x: make a couple of const arrays  static David Miller <davem@davemloft.net> - 2017-07-13 18:30 +0200

csiph-web