commit | ffb865715a0fe32700bf854d1dc840fc2cafcc0a | [log] [tgz] |
---|---|---|
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | Thu Mar 25 17:38:24 2021 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 19 09:44:41 2021 +0200 |
tree | 123502ab013b02e1cdc91b7cc2ccd33a809617f6 | |
parent | f06ea024c176fe44ec7f5746bcddcfab07e21758 [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>