lkml.org 
[lkml]   [2017]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] pinctrl: uniphier: make arrays static, reduces object code size
2017-09-12 20:21 GMT+09:00 Colin King <colin.king@canonical.com>:
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate const arrays on the stack, instead make them
> static. Makes the object code smaller nearly 1000 bytes. Also
> line break wide lines to avoid checkpatch warnings.
>
> Before:
> text data bss dec hex filename
> 13112 1996 0 15108 3b04 pinctrl-uniphier-core.o
>
> After:
> text data bss dec hex filename
> 11642 2476 0 14118 3726 pinctrl-uniphier-core.o
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>


Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Thanks!

--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2017-09-12 15:34    [W:0.035 / U:0.500 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site