From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCH net 0/3] sctp: fix some other sparse errors Date: Sun, 26 Nov 2017 20:16:05 +0800 Message-ID: Cc: davem@davemloft.net, Marcelo Ricardo Leitner , Neil Horman , Vlad Yasevich To: network dev , linux-sctp@vger.kernel.org Return-path: Received: from mail-pl0-f66.google.com ([209.85.160.66]:41553 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752071AbdKZMQR (ORCPT ); Sun, 26 Nov 2017 07:16:17 -0500 Sender: netdev-owner@vger.kernel.org List-ID: After the last fixes for sparse errors, there are still three sparse errors in sctp codes, two of them are type cast, and the other one is using extern. Xin Long (3): sctp: force SCTP_ERROR_INV_STRM with __u32 when calling sctp_chunk_fail sctp: force the params with right types for sctp csum apis sctp: remove extern from stream sched include/net/sctp/checksum.h | 13 +++++++------ include/net/sctp/sctp.h | 5 +++++ include/net/sctp/stream_sched.h | 5 +++++ net/sctp/protocol.c | 1 + net/sctp/stream.c | 2 +- net/sctp/stream_sched.c | 25 ++++++++++++++++++------- net/sctp/stream_sched_prio.c | 7 ++++++- net/sctp/stream_sched_rr.c | 7 ++++++- 8 files changed, 49 insertions(+), 16 deletions(-) -- 2.1.0