From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751622AbdBBU2p (ORCPT ); Thu, 2 Feb 2017 15:28:45 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:33372 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbdBBU2o (ORCPT ); Thu, 2 Feb 2017 15:28:44 -0500 Date: Thu, 2 Feb 2017 15:28:40 -0500 From: Tejun Heo To: Arnd Bergmann Cc: Lai Jiangshan , Sebastian Andrzej Siewior , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: avoid clang warning Message-ID: <20170202202840.GC7917@htj.duckdns.org> References: <20170201170135.2654291-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170201170135.2654291-1-arnd@arndb.de> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied to wq/for-4.11. Thanks. -- tejun