[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170713.092432.1028640160021503815.davem@davemloft.net>
Date: Thu, 13 Jul 2017 09:24:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: Yuval.Mintz@...ium.com, ariel.elior@...ium.com,
everest-linux-l2@...ium.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: broadcom: bnx2x: make a couple of const arrays
static
From: Colin King <colin.king@...onical.com>
Date: Tue, 11 Jul 2017 11:52:23 +0100
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Applied.
Powered by blists - more mailing lists