• Xin Long's avatar
    sctp: delete the nested flexible array skip · 73175a04
    Xin Long authored
    This patch deletes the flexible-array skip[] from the structure
    sctp_ifwdtsn/fwdtsn_hdr to avoid some sparse warnings:
    
      # make C=2 CF="-Wflexible-array-nested" M=./net/sctp/
      net/sctp/stream_interleave.c: note: in included file (through include/net/sctp/structs.h, include/net/sctp/sctp.h):
      ./include/linux/sctp.h:611:32: warning: nested flexible array
      ./include/linux/sctp.h:628:33: warning: nested flexible array
    Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    73175a04
stream_interleave.c 31.4 KB