summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDavid S. Miller2017-10-29 10:03:25 +0100
committerDavid S. Miller2017-10-29 10:03:25 +0100
commit8c83c88584abb3a04a4026be91060bc309f4c034 (patch)
treeec5e71a59013f698474666a8d748c4ddc11d68d4 /include/uapi/linux
parentnet_sched: avoid matching qdisc with zero handle (diff)
parentsctp: fix some type cast warnings introduced since very beginning (diff)
downloadkernel-qcow2-linux-8c83c88584abb3a04a4026be91060bc309f4c034.tar.gz
kernel-qcow2-linux-8c83c88584abb3a04a4026be91060bc309f4c034.tar.xz
kernel-qcow2-linux-8c83c88584abb3a04a4026be91060bc309f4c034.zip
Merge branch 'sctp-endianness-fixes'
Xin Long says: ==================== sctp: a bunch of fixes for some sparse warnings As Eric noticed, when running 'make C=2 M=net/sctp/', a plenty of warnings or errors checked by sparse appear. They are all problems about Endian and type cast. Most of them are just warnings by which no issues could be caused while some might be bugs. This patchset fixes them with four patches basically according to how they are introduced. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/sctp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
index 6217ff8500a1..84fc2914b7fb 100644
--- a/include/uapi/linux/sctp.h
+++ b/include/uapi/linux/sctp.h
@@ -376,7 +376,7 @@ struct sctp_remote_error {
__u16 sre_type;
__u16 sre_flags;
__u32 sre_length;
- __u16 sre_error;
+ __be16 sre_error;
sctp_assoc_t sre_assoc_id;
__u8 sre_data[0];
};