[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210821192032.E1BE5C43617@smtp.codeaurora.org>
Date: Sat, 21 Aug 2021 19:20:32 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: Arend van Spriel <aspriel@...il.com>,
Franky Lin <franky.lin@...adcom.com>,
Hante Meuleman <hante.meuleman@...adcom.com>,
Chi-hsien Lin <chi-hsien.lin@...ineon.com>,
Wright Feng <wright.feng@...ineon.com>,
Chung-hsien Hsu <chung-hsien.hsu@...ineon.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
linux-wireless@...r.kernel.org,
brcm80211-dev-list.pdl@...adcom.com,
SHA-cyfmac-dev-list@...ineon.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] brcmsmac: make array addr static const,
makes object smaller
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't populate the array addr on the stack but instead it
> static const. Makes the object code smaller by 79 bytes:
>
> Before:
> text data bss dec hex filename
> 176015 54652 128 230795 3858b .../broadcom/brcm80211/brcmsmac/main.o
>
> After:
> text data bss dec hex filename
> 175872 54716 128 230716 3853c .../broadcom/brcm80211/brcmsmac/main.o
>
> (gcc version 10.3.0)
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Patch applied to wireless-drivers-next.git, thanks.
0dc62413c882 brcmsmac: make array addr static const, makes object smaller
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210819125552.8888-1-colin.king@canonical.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists