From: Colin King
Date: Wed, 11 Oct 2017 10:53:28 +0100
> From: Colin Ian King
>
> 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 b
On 10/11/17 3:53 AM, Colin King wrote:
> From: Colin Ian King
>
> 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?
>
Fixes
From: Colin Ian King
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
---
net/mpls/af_mpls.c | 2 +