Re: [PATCH] igb: mark igb_rxnfc_write_vlan_prio_filter() static

From: Jeff Kirsher
Date: Mon Sep 19 2016 - 18:16:13 EST


On Sun, 2016-09-18 at 16:50 +0800, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/net/ethernet/intel/igb/igb_ethtool.c:2707:5: warning: no previous
> prototype for 'igb_rxnfc_write_vlan_prio_filter' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> so this patch marks this function with 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>
> ---
> Âdrivers/net/ethernet/intel/igb/igb_ethtool.c | 4 ++--
> Â1 file changed, 2 insertions(+), 2 deletions(-)

Already fixed, seeÂhttp://patchwork.ozlabs.org/patch/661904/

Attachment: signature.asc
Description: This is a digitally signed message part