From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbdJLDSr (ORCPT ); Wed, 11 Oct 2017 23:18:47 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:42044 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbdJLDSm (ORCPT ); Wed, 11 Oct 2017 23:18:42 -0400 Date: Wed, 11 Oct 2017 20:18:41 -0700 (PDT) Message-Id: <20171011.201841.213739155323701188.davem@davemloft.net> To: colin.king@canonical.com Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] sctp: make array sctp_sched_ops static From: David Miller In-Reply-To: <20171011101757.18825-1-colin.king@canonical.com> References: <20171011101757.18825-1-colin.king@canonical.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Oct 2017 20:18:42 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin King Date: Wed, 11 Oct 2017 11:17:57 +0100 > From: Colin Ian King > > The array sctp_sched_ops is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'sctp_sched_ops' was not declared. Should it be static? > > Signed-off-by: Colin Ian King Applied. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Thu, 12 Oct 2017 03:18:41 +0000 Subject: Re: [PATCH][next] sctp: make array sctp_sched_ops static Message-Id: <20171011.201841.213739155323701188.davem@davemloft.net> List-Id: References: <20171011101757.18825-1-colin.king@canonical.com> In-Reply-To: <20171011101757.18825-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: colin.king@canonical.com Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org From: Colin King Date: Wed, 11 Oct 2017 11:17:57 +0100 > From: Colin Ian King > > The array sctp_sched_ops is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'sctp_sched_ops' was not declared. Should it be static? > > Signed-off-by: Colin Ian King Applied.