diff options
author | kernel test robot <[email protected]> | 2021-11-27 19:03:20 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-11-29 14:38:50 +0000 |
commit | dcad856fe55a6e921e36fb4c57fb6df4bc5a3ce7 (patch) | |
tree | 182ad127ad9e1eb88625cc58e2617bb0c9f57772 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ff45b48d35078a0da13c130be81cbb9710f06ae7 (diff) |
net: dsa: felix: fix flexible_array.cocci warnings
Zero-length and one-element arrays are deprecated, see
Documentation/process/deprecated.rst
Flexible-array members should be used instead.
Generated by: scripts/coccinelle/misc/flexible_array.cocci
Fixes: 23ae3a787771 ("net: dsa: felix: add stream gate settings for psfp")
CC: Xiaoliang Yang <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions