diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-11 10:56:14 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-05-14 23:17:56 +0200 |
commit | baf5964ecfe19a0109fe2e497e72840ce0f488e6 (patch) | |
tree | 595f2fd4be71744c0b1edd364a4b9a681adb8556 /Documentation/devicetree/bindings/net/hisilicon-hix5hd2-gmac.txt | |
parent | c8f3c9fe83cafc94679007b9c0083ee25d5735e0 (diff) | |
download | lwn-baf5964ecfe19a0109fe2e497e72840ce0f488e6.tar.gz lwn-baf5964ecfe19a0109fe2e497e72840ce0f488e6.zip |
power: supply: olpc_battery: force the le/be casts
The endianness of data returned from the EC depends on the particular EC
version determined at run time. Cast from little/big endian explicitey
in the routine that flips endianness to the native one to make sparse
happy.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 76311b9a3295 ("power: supply: olpc_battery: Add OLPC XO 1.75 support")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net/hisilicon-hix5hd2-gmac.txt')
0 files changed, 0 insertions, 0 deletions