ixgbe: Clean up type inconsistency
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 13 Mar 2015 21:01:34 +0000 (14:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 Mar 2015 21:01:34 +0000 (14:01 -0700)
Missed this when I created commit 6a14ee0cfb197 ("ixgbe: Add X550 support
function pointers").  Use a the __be* type to be consistent with how the
value is assigned.

CC: <kernel-team@fb.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@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_type.h

index 02dc62ef19e5aa4ab0e17db4313642ee627ef307..c3ddc944f1e95722b9db06a14d0dcb74df704484 100644 (file)
@@ -2462,8 +2462,8 @@ struct ixgbe_hic_read_shadow_ram {
 
 struct ixgbe_hic_write_shadow_ram {
        union ixgbe_hic_hdr2 hdr;
-       u32 address;
-       u16 length;
+       __be32 address;
+       __be16 length;
        u16 pad2;
        u16 data;
        u16 pad3;