i40e: don't degrade __le16
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 10 Jul 2015 23:35:56 +0000 (19:35 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Aug 2015 21:44:38 +0000 (14:44 -0700)
commitecbb44e8f81b860ef279b0f176a878da9ebd614e
tree60fd6840efab4c1fb925f1b0bf6d4045d8ad8fd3
parent8c5bbe77d4cd012668cdaf501bbd1cbfb9ad1d24
i40e: don't degrade __le16

Sparse cries when we compare an __le16 to a u16, almost like it cares
about architectures other than x86. Weird. Use the le16_to_cpu macro to
make it stop crying.

Change-ID: Id068f4d7868a2d3df234a791a76d15938f37db35
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c