Messages in this thread | | | Date | Wed, 11 Oct 2017 20:20:16 -0700 (PDT) | Subject | Re: [PATCH][net-next] net: mpls: make function ipgre_mpls_encap_hlen static | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Wed, 11 Oct 2017 10:53:28 +0100
> From: Colin Ian King <colin.king@canonical.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@canonical.com>
Applied, thanks Colin.
| |