misc: bcm-vk: avoid -Wflex-array-member-not-at-end warning

Fix the following warning by removing unused flex-array member
`data` in `struct bcm_vk_peer_log`:

drivers/misc/bcm-vk/bcm_vk.h:415:32: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/Z9Nd4AmgrQDiK1Gn@kspp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
pull/1259/head
Gustavo A. R. Silva 2025-03-14 09:06:16 +10:30 committed by Greg Kroah-Hartman
parent a99b598d83
commit e1ee28b126
1 changed files with 0 additions and 1 deletions

View File

@ -311,7 +311,6 @@ struct bcm_vk_peer_log {
u32 wr_idx;
u32 buf_size;
u32 mask;
char data[];
};
/* max buf size allowed */