diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-07-01 22:29:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 10:25:22 +0200 |
commit | ad6a0664c29c698bfe5c46c49f627af6f5bb172b (patch) | |
tree | 8b6fe32399f1afd6e155c45acc5678faf3b9cb88 /lib/test_bitmap.c | |
parent | hwrng: virtio - Constify id_table[] (diff) | |
download | linux-ad6a0664c29c698bfe5c46c49f627af6f5bb172b.tar.xz linux-ad6a0664c29c698bfe5c46c49f627af6f5bb172b.zip |
crypto: virtio - constify features[] and id_table[]
features[] and id_table[] are not modified and can be made const to
allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
11534 2056 160 13750 35b6 drivers/crypto/virtio/virtio_crypto_core.o
After:
text data bss dec hex filename
11630 1992 128 13750 35b6 drivers/crypto/virtio/virtio_crypto_core.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions