ixgbe: Resolve warnings produced in W=2 builds
authorMark Rustad <mark.d.rustad@intel.com>
Thu, 24 Jul 2014 06:19:24 +0000 (06:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Sep 2014 07:08:44 +0000 (00:08 -0700)
commitca8dfe2550cb36828db52f6b1a6ef340c80197e9
tree6bef7650cfeea6497a609851b5665bae8e260342
parentb954d83421d51d822c42e5ab7b65069b25ad3005
ixgbe: Resolve warnings produced in W=2 builds

This patch resolves warnings produced by ixgbe in W=2 kernel
builds. There are missing-field-initializers warnings and shadow
warnings. None of these point to any deeper problem, so just
resolve them so any new warnings get analyzed.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c