Re: [PATCH] soc: mtk-pmic-wrap: avoid integer overflow warning

2016-05-23 Thread Henry Chen
Hi, Thanks to the patch. On Thu, 2016-05-12 at 23:01 +0200, Arnd Bergmann wrote: > On ARM64, the mtk-pmic-wrap driver causes a harmless warning: > > mtk-pmic-wrap.c:1062:16: warning: large integer implicitly truncated to > unsigned type [-Woverflow] > mtk-pmic-wrap.c:1074:16: warning: large int

[PATCH] soc: mtk-pmic-wrap: avoid integer overflow warning

2016-05-12 Thread Arnd Bergmann
On ARM64, the mtk-pmic-wrap driver causes a harmless warning: mtk-pmic-wrap.c:1062:16: warning: large integer implicitly truncated to unsigned type [-Woverflow] mtk-pmic-wrap.c:1074:16: warning: large integer implicitly truncated to unsigned type [-Woverflow] mtk-pmic-wrap.c:1086:16: warning: la