diff options
author | Xin Long <[email protected]> | 2023-04-19 11:16:28 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-21 08:19:29 +0100 |
commit | add7370a398930077c6bc257ef5016b040d476eb (patch) | |
tree | ca773a8c587e4ca6423fbb77a775f0a1c97b48e6 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 2f3a247c3994ece3acb7616965b656622bbf5243 (diff) |
sctp: delete the nested flexible array params
This patch deletes the flexible-array params[] from the structure
sctp_inithdr, sctp_addiphdr and sctp_reconf_chunk to avoid some
sparse warnings:
# make C=2 CF="-Wflexible-array-nested" M=./net/sctp/
net/sctp/input.c: note: in included file (through include/net/sctp/structs.h, include/net/sctp/sctp.h):
./include/linux/sctp.h:278:29: warning: nested flexible array
./include/linux/sctp.h:675:30: warning: nested flexible array
This warning is reported if a structure having a flexible array
member is included by other structures.
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions