Thread (3 messages) 3 messages, 3 authors, 2017-09-12

[PATCH] pinctrl: uniphier: make arrays static, reduces object code size

From: Masahiro Yamada <hidden>
Date: 2017-09-12 13:34:37
Also in: kernel-janitors, linux-gpio, lkml

2017-09-12 20:21 GMT+09:00 Colin King [off-list ref]:
From: Colin Ian King <redacted>

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 <redacted>

Acked-by: Masahiro Yamada <redacted>


Thanks!

-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help