]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: don't degrade __le16
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 10 Jul 2015 23:35:56 +0000 (19:35 -0400)
committerBrian Maly <brian.maly@oracle.com>
Mon, 31 Aug 2015 21:19:29 +0000 (17:19 -0400)
commitbde11742a405370fc74b58cec3ee335311bf0a1c
treeae55bb3808370271188c1505c544c066ebfd7ea5
parent22a14a48c8c0ceccba54e7f06ad633c3ff6c591d
i40e: don't degrade __le16

Orabug: 21764569

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>
(cherry picked from commit ecbb44e8f81b860ef279b0f176a878da9ebd614e)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c