OSDN Git Service

i40e/i40evf: Fix output of i40e_debug_aq() for big endian machines
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Fri, 6 Feb 2015 08:52:07 +0000 (08:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Feb 2015 02:35:38 +0000 (18:35 -0800)
commitf1abd7dbb38535ab6ac6ba9ac81714118562cadf
tree713a04af6e695abb14fc8b90b3dbd37aa4399a4c
parent92bf200881d978bc3c6a290991ae1f9ddc7b5411
i40e/i40evf: Fix output of i40e_debug_aq() for big endian machines

The function i40e_debug_aq() prints information helpful in debugging
admin queue commands, but it doesn't do so correctly on big endian machines.
This patch adds the appropriate LExx_TO_CPU wrappers for big endian
architectures.

Also update the copyright year.

Change-ID: I4b2dc229ed5bf6dfe35632a58cddf53c21aff4b0
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40evf/i40e_common.c