diff options
| author | Gustavo A. R. Silva <[email protected]> | 2024-08-20 01:27:11 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-08-22 00:15:43 +0000 |
| commit | 488d34643ec3f4ce5ce120846fc81412534e9af1 (patch) | |
| tree | 17d7f5e0cef664bf7525573c4b548a8356c3513d /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: wwan: t7xx: PCIe reset rescan (diff) | |
| download | kernel-488d34643ec3f4ce5ce120846fc81412534e9af1.tar.gz kernel-488d34643ec3f4ce5ce120846fc81412534e9af1.zip | |
nfc: pn533: Avoid -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Remove unnecessary flex-array member `data[]`, and with this fix
the following warnings:
drivers/nfc/pn533/usb.c:268:38: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
drivers/nfc/pn533/usb.c:275:38: 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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/ZsPw7+6vNoS651Cb@elsanto
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
