lkml.org 
[lkml]   [2017]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] workqueue: avoid clang warning
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@arndb.de>

Applied to wq/for-4.11. Thanks.

--
tejun

\
 
 \ /
  Last update: 2017-02-02 21:29    [W:0.454 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site