diff options
| author | 2021-03-09 15:17:26 +0100 | |
|---|---|---|
| committer | 2021-03-23 10:24:27 +0100 | |
| commit | 8ba0f967ff6e312da80054b9a91743734814ea79 (patch) | |
| tree | f68a08a3db7901c345f912ea1f465a38831c6614 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | tty: serial: 8250: delete redundant printing of return value (diff) | |
tty: max310x: 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: 10d8b34a42171 ("serial: max310x: Driver rework")
CC: Denis Efremov <efremov@linux.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2103091516020.2892@hadrien
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions
