]> git.karo-electronics.de Git - linux-beck.git/commitdiff
igb: fix sparse warning
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 Feb 2011 18:47:48 +0000 (18:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Mar 2011 11:33:48 +0000 (03:33 -0800)
Reported-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/igbvf/vf.c

index 74486a8b009acb5d059523785b4823df3d262038..af3822f9ea9a28c1dc8c058cf5e4ef9e7f634ccf 100644 (file)
@@ -220,7 +220,7 @@ static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr)
  *  The parameter rar_count will usually be hw->mac.rar_entry_count
  *  unless there are workarounds that change this.
  **/
-void e1000_update_mc_addr_list_vf(struct e1000_hw *hw,
+static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw,
                                   u8 *mc_addr_list, u32 mc_addr_count,
                                   u32 rar_used_count, u32 rar_count)
 {