summaryrefslogtreecommitdiff
path: root/include/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2023-04-19 18:16:30 +0300
committerDavid S. Miller <davem@davemloft.net>2023-04-21 10:19:29 +0300
commit9789c1c6619e0a5eccfc31abe49b1ce5ca3cd11f (patch)
tree26204eeff7bb1548244bc045b4e2c81323f6a652 /include/net/sctp
parent73175a042955e531ec355a8708585befa67a22db (diff)
downloadlinux-9789c1c6619e0a5eccfc31abe49b1ce5ca3cd11f.tar.xz
sctp: delete the nested flexible array variable
This patch deletes the flexible-array variable[] from the structure sctp_sackhdr and sctp_errhdr to avoid some sparse warnings: # make C=2 CF="-Wflexible-array-nested" M=./net/sctp/ net/sctp/sm_statefuns.c: note: in included file (through include/net/sctp/structs.h, include/net/sctp/sctp.h): ./include/linux/sctp.h:451:28: warning: nested flexible array ./include/linux/sctp.h:393:29: warning: nested flexible array Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
0 files changed, 0 insertions, 0 deletions