[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190913142335.C25DF607F1@smtp.codeaurora.org>
Date: Fri, 13 Sep 2019 14:23:35 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: Michael Buesch <m@...s.ch>, linux-wireless@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ssb: make array pwr_info_offset 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 pwr_info_offset on the stack but instead make it
> static const. Makes the object code smaller by 207 bytes.
>
> Before:
> text data bss dec hex filename
> 26066 3000 64 29130 71ca drivers/ssb/pci.o
>
> After:
> text data bss dec hex filename
> 25763 3096 64 28923 70fb drivers/ssb/pci.o
>
> (gcc version 9.2.1, amd64)
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: Michael Büsch <m@...s.ch>
Patch applied to wireless-drivers-next.git, thanks.
d3bb26868105 ssb: make array pwr_info_offset static const, makes object smaller
--
https://patchwork.kernel.org/patch/11135599/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists