summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-17 19:47:48 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-03-02 12:33:48 +0100
commit9dc441f3c5a9ea1b9888ce15b1ccb3f30a79e323 (patch)
tree2f435b3d3850fc90b0e425b306658c9c6811d495
parente1000: fix sparse warning (diff)
downloadlinux-9dc441f3c5a9ea1b9888ce15b1ccb3f30a79e323.tar.xz
linux-9dc441f3c5a9ea1b9888ce15b1ccb3f30a79e323.zip
igb: fix sparse warning
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>
-rw-r--r--drivers/net/igbvf/vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igbvf/vf.c b/drivers/net/igbvf/vf.c
index 74486a8b009a..af3822f9ea9a 100644
--- a/drivers/net/igbvf/vf.c
+++ b/drivers/net/igbvf/vf.c
@@ -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)
{