public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] driver/core: Fix various warnings due to dev_set_name() usage
Date: Tue, 16 Jun 2009 19:51:34 -0700	[thread overview]
Message-ID: <20090617025134.GA6807@kroah.com> (raw)
In-Reply-To: <1245203150.21602.10.camel@pasglop>

On Wed, Jun 17, 2009 at 11:45:50AM +1000, Benjamin Herrenschmidt wrote:
> gcc is too smart, we get:
> 
> drivers/base/core.c: In function ‘device_add’:
> drivers/base/core.c:877: warning: format not a string literal and no format arguments
> drivers/base/core.c: In function ‘__root_device_register’:
> drivers/base/core.c:1274: warning: format not a string literal and no format arguments
> 
> With 4.3.3 and later. This fixes a bunch of them in drivers/base

These have all been fixed in linux-next for a while, and are already
contained in the patchset I sent to Linus for inclusion in his tree
yesterday.

But thanks anyway :)

greg k-h

  reply	other threads:[~2009-06-17  2:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  1:45 [PATCH] driver/core: Fix various warnings due to dev_set_name() usage Benjamin Herrenschmidt
2009-06-17  2:51 ` Greg KH [this message]
2009-06-17  4:06   ` Benjamin Herrenschmidt

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=20090617025134.GA6807@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@linux-foundation.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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