diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-03-07 23:09:40 +0000 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-03-14 17:01:58 +0100 |
commit | 5a368fb65ad9aaf68f2bbe02d42969741317d44c (patch) | |
tree | 311fbace79798cf8a5616112de715f85bc473038 /tools/testing/selftests/mount_setattr/mount_setattr_test.c | |
parent | 5fc69b6e51ae2da28081c201f595898c5c1f40cc (diff) |
mtd: nand: mxic-ecc: make two read-only arrays static const
Don't populate the read-only arrays possible_strength and
spare_size on the stack but instead make them static
const. Also makes the object code a little smaller.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220307230940.169235-1-colin.i.king@gmail.com
Diffstat (limited to 'tools/testing/selftests/mount_setattr/mount_setattr_test.c')
0 files changed, 0 insertions, 0 deletions