]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:41:12 +0000 (16:41 -0700)
commitc3c25cc8e74b1822b41562484d6a6971a0a96594
tree618eb2caf27987c91305bcb968d1a8ff3c9ed645
parentf1ba545f0b1184417caf1d805891b1abda8d247a
ixgbe: Clean up interface for firmware commands

Orabug: 23177316

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>
(cherry picked from commit 5cffde309cb3f6f7aaaa459abd3eba245a863f8a)
Signed-off-by: Brian Maly <brian.maly@oracle.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