diff options
author | Tushar Dave <tushar.n.dave@oracle.com> | 2017-06-22 09:44:32 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-07-26 03:25:21 -0700 |
commit | c969ef4ed9cbf3662fc8709e2581427c191504fb (patch) | |
tree | 5ef1b5a98bfbdcdd6557e5b12f42507eafbfef21 /.cocciconfig | |
parent | eb23039f6c22a6b240aef7d7ebccceeb52a8452a (diff) | |
download | linux-c969ef4ed9cbf3662fc8709e2581427c191504fb.tar.bz2 |
i40evf: Use le32_to_cpu before evaluating HW desc fields
i40e hardware descriptor fields are in little-endian format. Driver
must use le32_to_cpu while evaluating these fields otherwise on
big-endian arch we end up evaluating incorrect values, cause errors
like:
i40evf 0000:03:0a.0: Expected response 24 from PF, received 402653184
i40evf 0000:03:0a.1: Expected response 7 from PF, received 117440512
Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions