diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-24 01:31:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 18:07:58 +0300 |
commit | e5b9f4b1dc3e73f8a327b242c783551c4bf15bbd (patch) | |
tree | 173183ea958a936b1fbcad7cdfdc2f612c1dfd0f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dbaab9469b257f98723ff9eacddaac68706033a1 (diff) | |
download | linux-e5b9f4b1dc3e73f8a327b242c783551c4bf15bbd.tar.xz |
tty: Avoid the use of one-element arrays
One-element arrays are being deprecated[1]. Replace the one-element arrays
with simple value types 'char reserved_char' and 'compat_int_t reserved'[2],
once it seems these are just placeholders for alignment.
[1] https://github.com/KSPP/linux/issues/79
[2] https://github.com/KSPP/linux/issues/86
Tested-by: kernel test robot <lkp@intel.com>
Link: https://github.com/GustavoARSilva/linux-hardening/blob/master/cii/0-day/tty-20200716.md
Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/f49bf0e27eaac396c96d21392c8c284f9f5ef52a.1595543280.git.gustavoars@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions