diff options
| author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2021-03-25 17:38:24 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:37 +0200 |
| commit | 6d8dc2c7c1ee3aae9ed9d4a3e35c95e9f997893f (patch) | |
| tree | d7e6a378be557f56e1631b4be8627c5ef32e5342 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2f3d9ddd32a28803baa547e6274983b67d5e287c (diff) | |
e100: handle eeprom as little endian
[ Upstream commit d4ef55288aa2e1b76033717242728ac98ddc4721 ]
Sparse tool was warning on some implicit conversions from
little endian data read from the EEPROM on the e100 cards.
Fix these by being explicit about the conversions using
le16_to_cpu().
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
