public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] workqueue: avoid clang warning
Date: Thu, 2 Feb 2017 15:28:40 -0500	[thread overview]
Message-ID: <20170202202840.GC7917@htj.duckdns.org> (raw)
In-Reply-To: <20170201170135.2654291-1-arnd@arndb.de>

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

  reply	other threads:[~2017-02-02 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 17:01 [PATCH] workqueue: avoid clang warning Arnd Bergmann
2017-02-02 20:28 ` Tejun Heo [this message]
2017-02-02 20:29 ` [PATCH wq/for-4.11] workqueue: clean up enum definitions in workqueue.h Tejun Heo
2017-02-02 21:56   ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170202202840.GC7917@htj.duckdns.org \
    --to=tj@kernel.org \
    --cc=arnd@arndb.de \
    --cc=bigeasy@linutronix.de \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox