diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2016-12-13 02:44:14 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-02-19 07:35:36 +0300 |
| commit | 2ae0bf501425cbddc8b992a2b65fc04d911cae8c (patch) | |
| tree | cfb7296fcdd4c986a3518d00efebfbfac7bd35ba /include/linux | |
| parent | 773d4023badee2e196f4125a94fe9d5a739720a0 (diff) | |
| download | linux-2ae0bf501425cbddc8b992a2b65fc04d911cae8c.tar.xz | |
i40e: convert to cpu from le16 to generate switch_id correctly
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.
Change-ID: I69a2f9fa064a0a91691f7d0e6fcc206adceb8e36
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
