[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190913134505.E0AC7601C3@smtp.codeaurora.org>
Date: Fri, 13 Sep 2019 13:45:05 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: Rafał Miłecki <zajec5@...il.com>,
linux-wireless@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bcma: make arrays pwr_info_offset and sprom_sizes static
const, shrinks object size
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Arrays pwr_info_offset and sprom_sizes can be make static const rather
> than populating them on the stack. Shrinks object size by 236 bytes.
>
> Before:
> text data bss dec hex filename
> 11300 1320 64 12684 318c drivers/bcma/sprom.o
>
> After:
> text data bss dec hex filename
> 10904 1480 64 12448 30a0 drivers/bcma/sprom.o
>
> (gcc version 9.2.1, amd64)
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Patch applied to wireless-drivers-next.git, thanks.
c57391f41572 bcma: make arrays pwr_info_offset and sprom_sizes static const, shrinks object size
--
https://patchwork.kernel.org/patch/11133647/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists