diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-09-19 10:36:06 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-21 16:12:12 +0200 |
commit | f30e5323a188cfc2d74b04f222cea0dbe9ffd6e6 (patch) | |
tree | 32d29eab47c33e5467b9c6e90a29449de68e0594 /net | |
parent | f20161cf51657bf4c85380c0c1c80188a74f168d (diff) | |
download | linux-stable-f30e5323a188cfc2d74b04f222cea0dbe9ffd6e6.tar.gz linux-stable-f30e5323a188cfc2d74b04f222cea0dbe9ffd6e6.tar.bz2 linux-stable-f30e5323a188cfc2d74b04f222cea0dbe9ffd6e6.zip |
net: dsa: sja1105: make read-only const arrays static
Don't populate read-only const arrays on the stack, instead make them
static.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20230919093606.24446-1-colin.i.king@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions