[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171011.202016.1730207765050552906.davem@davemloft.net>
Date: Wed, 11 Oct 2017 20:20:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: dsahern@...il.com, rshearma@...cade.com, roopa@...ulusnetworks.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][net-next] net: mpls: make function
ipgre_mpls_encap_hlen static
From: Colin King <colin.king@...onical.com>
Date: Wed, 11 Oct 2017 10:53:28 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The function ipgre_mpls_encap_hlen is local to the source and
> does not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> symbol 'ipgre_mpls_encap_hlen' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks Colin.
Powered by blists - more mailing lists