Re: [PATCH] workqueue: avoid clang warning

From: Tejun Heo
Date: Thu Feb 02 2017 - 15:28:59 EST


On Wed, Feb 01, 2017 at 06:01:17PM +0100, Arnd Bergmann wrote:
> Building with clang shows lots of warning like:
>
> drivers/amba/bus.c:447:8: warning: implicit conversion from 'long long' to 'int' changes value from 4294967248 to -48
...
> arch/arm/include/asm/atomic.h:21:27: note: expanded from macro 'ATOMIC_INIT'
> #define ATOMIC_INIT(i) { (i) }
> ~ ^
>
> This makes the type cast explicit, which shuts up the warning.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied to wq/for-4.11. Thanks.

--
tejun