From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH][next] netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog static Date: Tue, 05 Dec 2017 14:38:27 -0500 (EST) Message-ID: <20171205.143827.1200817158476092630.davem@davemloft.net> References: <20171204125609.5931-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jakub.kicinski@netronome.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: colin.king@canonical.com Return-path: In-Reply-To: <20171204125609.5931-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Colin King Date: Mon, 4 Dec 2017 12:56:09 +0000 > From: Colin Ian King > > Functions nsim_bpf_create_prog and nsim_bpf_destroy_prog are local to the > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > symbol 'nsim_bpf_create_prog' was not declared. Should it be static? > symbol 'nsim_bpf_destroy_prog' was not declared. Should it be static? > > Signed-off-by: Colin Ian King Applied, thanks.