lkml.org 
[lkml]   [2020]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ALSA: hda/ca0132: make some const arrays static, makes object smaller
On Sat, 17 Oct 2020 00:49:13 +0200,
Colin King wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate const arrays on the stack but instead make them
> static. Makes the object code smaller by 57 bytes.
>
> Before:
> text data bss dec hex filename
> 173256 38016 192 211464 33a08 sound/pci/hda/patch_ca0132.o
>
> After:
> text data bss dec hex filename
> 172879 38336 192 211407 339cf sound/pci/hda/patch_ca0132.o
>
> (gcc version 10.2.0)
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks, applied.


Takashi

\
 
 \ /
  Last update: 2020-10-17 10:06    [W:0.250 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site