diff options
author | Kees Cook <kees@kernel.org> | 2024-07-10 16:15:55 -0700 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2024-08-22 16:56:24 -0700 |
commit | 5ac86f0ed04bce41242167ffa12ad92038788a95 (patch) | |
tree | c86eeb8b867408fb014bdcb810179b1ee78ae2a8 /rust/compiler_builtins.rs | |
parent | bbf3c7ff9dfa45be51500d23a1276991a7cd8c6e (diff) |
virt: vbox: struct vmmdev_hgcm_pagelist: Replace 1-element array with flexible array
Replace the deprecated[1] use of a 1-element array in
struct vmmdev_hgcm_pagelist with a modern flexible array. As this is
UAPI, we cannot trivially change the size of the struct, so use a union
to retain the old first element's size, but switch "pages" to a flexible
array.
No binary differences are present after this conversion.
Link: https://github.com/KSPP/linux/issues/79 [1]
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240710231555.work.406-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions