diff options
| author | Thorsten Blum <[email protected]> | 2025-01-16 21:19:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-18 03:07:48 +0000 |
| commit | 3df22e75102785bac1768f7eeabbc45c01a6e7f4 (patch) | |
| tree | d72b4364be34d19e1a6628b33e415ddc5cbf9d05 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | gtp: Prepare ip4_route_output_gtp() to .flowi4_tos conversion. (diff) | |
| download | kernel-3df22e75102785bac1768f7eeabbc45c01a6e7f4.tar.gz kernel-3df22e75102785bac1768f7eeabbc45c01a6e7f4.zip | |
hv_netvsc: Replace one-element array with flexible array member
Replace the deprecated one-element array with a modern flexible array
member in the struct nvsp_1_message_send_receive_buffer_complete.
Use struct_size_t(,,1) instead of sizeof() to maintain the same size.
Compile-tested only.
Link: https://github.com/KSPP/linux/issues/79
Signed-off-by: Thorsten Blum <[email protected]>
Tested-by: Roman Kisel <[email protected]>
Reviewed-by: Roman Kisel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
