]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Clean up interface for firmware commands
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 14 Mar 2016 18:05:57 +0000 (11:05 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 22:46:11 +0000 (15:46 -0700)
commit646a2185314df279fa6839921ad22584c4254f8c
tree5b9a5c46a31b8abb158e3e008de0b1ec79eef573
parentb01d60524eddf03a549a09d15623fd1d0f0a3227
ixgbe: Clean up interface for firmware commands

Clean up the interface for issuing firmware commands to use a
void * instead of a u32 *. This eliminates a number of casts.
Also clean up ixgbe_host_interface_command in a few other ways,
eliminating comparisons with 0, redundant parens and minor
formatting issues.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c