Re: [PATCH] power: supply: core: fix clang -Wunsequenced

2019-05-02 Thread Sebastian Reichel
Hi, On Thu, May 02, 2019 at 08:27:06AM +0700, Phong Tran wrote: > 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,-Wunsequen

Re: [PATCH] power: supply: core: fix clang -Wunsequenced

2019-05-02 Thread Nick Desaulniers
On Wed, May 1, 2019 at 6:28 PM Phong Tran wrote: > > 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

[PATCH] power: supply: core: fix clang -Wunsequenced

2019-05-01 Thread Phong Tran
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 unseq