[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAS+gobUD_rxfSoG8v1jB564=Oa3=jVuVUV7J4odefrTRw@mail.gmail.com>
Date: Tue, 12 Sep 2017 22:33:35 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Colin King <colin.king@...onical.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
kernel-janitors@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: uniphier: make arrays static, reduces object
code size
2017-09-12 20:21 GMT+09:00 Colin King <colin.king@...onical.com>:
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Acked-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists