From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] sctp: fix const parameter violation in sctp_make_sack Date: Wed, 25 Apr 2018 13:22:20 -0400 (EDT) Message-ID: <20180425.132220.486012512001964938.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, lucien.xin@gmail.com, vyasevich@gmail.com, nhorman@tuxdriver.com To: marcelo.leitner@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52526 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754847AbeDYRWW (ORCPT ); Wed, 25 Apr 2018 13:22:22 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Marcelo Ricardo Leitner Date: Tue, 24 Apr 2018 18:17:34 -0300 > sctp_make_sack() make changes to the asoc and this cast is just > bypassing the const attribute. As there is no need to have the const > there, just remove it and fix the violation. > > Signed-off-by: Marcelo Ricardo Leitner Applied.