History

sctp: fix some type cast warnings introduced since very beginning

These warnings were found by running 'make C=2 M=net/sctp/'. They are there since very beginning. Note after this patch, there still one warning left in sctp_outq_flush(): sctp_chunk_fail(chunk, SCTP_ERROR_INV_STRM) Since it has been moved to sctp_stream_outq_migrate on net-next, to avoid the extra job when merging net-next to net, I will post the fix for it after the merging is done.

Xin Long committed 9 years ago

Commit 978aa041 parent f6fc6bc5 files · +7 −7Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/sctp.h+1−1
@@ -231,7 +231,7 @@ struct sctp_datahdr { · 230 unmodified lines
231 __be32 tsn;231 __be32 tsn;
232 __be16 stream;232 __be16 stream;
233 __be16 ssn;233 __be16 ssn;
234 __be32 ppid;234 __u32 ppid;
235 __u8 payload[0];235 __u8 payload[0];
236};236};
237 237