diff options
author | 2019-05-02 08:27:06 +0700 | |
---|---|---|
committer | 2019-05-02 22:10:46 +0200 | |
commit | caee28498ec35f0320a1b1eabbdfa3563cccdf4b (patch) | |
tree | 8720d285f7f389fd264762ed80d0b3282aeae72b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | power: supply: core: Add missing documentation for CHARGE_CONTROL_* properties (diff) | |
download | wireguard-linux-caee28498ec35f0320a1b1eabbdfa3563cccdf4b.tar.xz wireguard-linux-caee28498ec35f0320a1b1eabbdfa3563cccdf4b.zip |
power: supply: core: fix clang -Wunsequenced
The increment operator of pointer in be32_to_cpu() is not explicitly.
It made the warning from clang:
drivers/power/supply/power_supply_core.c:674:36: error: multiple
unsequenced modifications to 'list' [-Werror,-Wunsequenced]
drivers/power/supply/power_supply_core.c:675:41: error: multiple
unsequenced modifications to 'list' [-Werror,-Wunsequenced]
Link: https://github.com/ClangBuiltLinux/linux/issues/460
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions