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


Groups > linux.kernel > #1686769

Re: [PATCH] net: stmmac: make const array route_possibilities static

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: stmmac: make const array route_possibilities static
Date 2017-07-13 18:30 +0200
Message-ID <u2Pa2-7UJ-19@gated-at.bofh.it> (permalink)
References <u21mV-1BA-7@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 12:18:48 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> Don't populate array route_possibilities on the stack but make it
> static const.  Makes the object code a little smaller by 85 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>    9901	   2448	      0	  12349	   303d	dwmac4_core.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>    9760	   2504	      0	  12264	   2fe8	dwmac4_core.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: stmmac: make const array route_possibilities static Colin King <colin.king@canonical.com> - 2017-07-11 13:20 +0200
  Re: [PATCH] net: stmmac: make const array route_possibilities  static David Miller <davem@davemloft.net> - 2017-07-13 18:30 +0200

csiph-web