diff options
| author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-11 11:56:14 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-05-15 00:17:56 +0300 |
| commit | baf5964ecfe19a0109fe2e497e72840ce0f488e6 (patch) | |
| tree | 595f2fd4be71744c0b1edd364a4b9a681adb8556 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c8f3c9fe83cafc94679007b9c0083ee25d5735e0 (diff) | |
| download | linux-baf5964ecfe19a0109fe2e497e72840ce0f488e6.tar.xz | |
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
