[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0458c03b374e494892d03dd4b6a889c9@euamsexm01e.eu.qualcomm.com>
Date: Wed, 4 Oct 2017 11:09:11 +0200
From: Kalle Valo <kvalo@....qualcomm.com>
To: Colin Ian King <colin.king@...onical.com>
CC: QCA ath9k Development <ath9k-devel@....qualcomm.com>,
Kalle Valo <kvalo@...eaurora.org>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: ath9k: make const array reg_hole_list static,
reduces object code size
Colin Ian King <colin.king@...onical.com> wrote:
> Don't populate the read-only array reg_hole_list on the stack, instead make
> it static. Makes the object code smaller by over 200 bytes:
>
> Before:
> text data bss dec hex filename
> 57518 15248 0 72766 11c3e debug.o
>
> After:
> text data bss dec hex filename
> 57218 15344 0 72562 11b72 debug.o
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Signed-off-by: Kalle Valo <kvalo@....qualcomm.com>
Patch applied to ath-next branch of ath.git, thanks.
eba0f28473b2 ath9k: make const array reg_hole_list static, reduces object code size
--
https://patchwork.kernel.org/patch/9960183/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists