diff options
| author | kernel test robot <lkp@intel.com> | 2021-02-13 21:09:55 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-10 09:37:15 +0100 |
| commit | 4294a8c2b8db914b029801cf2a2ba438e8785714 (patch) | |
| tree | 83d5181facce4338fe34950dbeb0e1f58681f1ff /tools/perf/scripts/python | |
| parent | 292f750f43d06ea269323b5a6e40aab10e033162 (diff) | |
| download | linux-4294a8c2b8db914b029801cf2a2ba438e8785714.tar.gz linux-4294a8c2b8db914b029801cf2a2ba438e8785714.zip | |
usb: chipidea: tegra: 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: fc53d5279094 ("usb: chipidea: tegra: Support host mode")
CC: Peter Geis <pgwipeout@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.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.2102132108040.2720@hadrien
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
