diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-15 14:56:00 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-08 14:43:54 +0300 |
commit | 57b660b22f1b3ae203eba620d0b87a9371c651cb (patch) | |
tree | 49bcd77ad33eaabdf1864a1905df283bc0173a08 /scripts/ksymoops | |
parent | dce6dd4493d613165cefefc52494043517c816b6 (diff) | |
download | linux-57b660b22f1b3ae203eba620d0b87a9371c651cb.tar.xz |
media: mb86a20s: make arrays static const
Don't populate the read-only arrays on the stack but instead them
static const. Also makes the object code smaller by 154 bytes:
Before:
text data bss dec hex filename
42949 22424 0 65373 ff5d media/dvb-frontends/mb86a20s.o
After:
text data bss dec hex filename
42731 22488 0 65219 fec3 media/dvb-frontends/mb86a20s.o
(gcc version 11.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions