[Intel-wired-lan] [next PATCH S57 08/11] i40e: convert to cpu from le16 to generate switch_id correctly

Bowers, AndrewX andrewx.bowers at intel.com
Fri Dec 16 22:37:18 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, December 12, 2016 3:44 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S57 08/11] i40e: convert to cpu from
> le16 to generate switch_id correctly
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> On Big Endian platforms we would incorrectly calculate the wrong switch id
> since we did not properly convert the le16 value into CPU format.
> Caught by sparse.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: I69a2f9fa064a0a91691f7d0e6fcc206adceb8e36
> ---
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list