diff options
author | Gustavo A. R. Silva <[email protected]> | 2023-05-22 19:35:12 -0600 |
---|---|---|
committer | Alexander Gordeev <[email protected]> | 2023-06-01 17:07:55 +0200 |
commit | 5dd4241964c86e866ae51b5c5b95cd14c5f341e6 (patch) | |
tree | 1cc45673819ca1bf14f1d521d9e396ce54cea7a2 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | fbac266f095de92b93e7c91c71cdca432c2c9275 (diff) |
vfio/ccw: replace one-element array with flexible-array member
One-element arrays are deprecated, and we are replacing them with flexible
array members instead. So, replace one-element array with flexible-array
member in struct vfio_ccw_parent and refactor the rest of the code
accordingly.
Link: https://github.com/KSPP/linux/issues/79
Link: https://github.com/KSPP/linux/issues/297
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Eric Farman <[email protected]>
Reviewed-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/3c10549ebe1564eade68a2515bde233527376971.1684805398.git.gustavoars@kernel.org
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions