From: Greg KH <greg@kroah.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: linux-next: Tree for October 21 (printk format warnings)
Date: Tue, 21 Oct 2008 22:01:42 -0700 [thread overview]
Message-ID: <20081022050142.GA11674@kroah.com> (raw)
In-Reply-To: <20081021215725.b9c2b941.randy.dunlap@oracle.com>
On Tue, Oct 21, 2008 at 09:57:25PM -0700, Randy Dunlap wrote:
> On Tue, 21 Oct 2008 19:51:09 +1100 Stephen Rothwell wrote:
>
>
> printk format warnings summary:
>
> i386:
>
> linux-next-20081021/drivers/pci/hotplug/acpiphp_ibm.c:207: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int'
>
> linux-next-20081021/drivers/misc/intel_menlow.c:107: warning: format '%ld' expects type 'long int', but argument 3 has type 'long long unsigned int'
>
> x86_64:
>
> linux-next-20081021/drivers/pci/hotplug/acpiphp_ibm.c:207: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int'
>
> linux-next-20081021/drivers/usb/misc/vstusb.c:623: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
Crap. What's the expected modifier for "size_t" to work on all arches?
Same goes for the result of "size_of()", what should we use there? Or
are we just required to always cast things?
thanks,
greg k-h
next prev parent reply other threads:[~2008-10-22 5:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 8:51 linux-next: Tree for October 21 Stephen Rothwell
2008-10-21 12:07 ` Josh Boyer
2008-10-21 12:14 ` Stephen Rothwell
2008-10-21 13:02 ` Josh Boyer
2008-10-21 17:20 ` David Woodhouse
2008-10-21 22:55 ` Stephen Rothwell
2008-10-22 4:25 ` linux-next: Tree for October 21 (jffs2) Randy Dunlap
2008-10-22 4:47 ` linux-next: Tree for October 21 (staging/prism2-usb) Randy Dunlap
2008-10-22 4:59 ` Greg KH
2008-10-22 5:05 ` Randy Dunlap
2008-10-22 4:57 ` linux-next: Tree for October 21 (printk format warnings) Randy Dunlap
2008-10-22 5:01 ` Greg KH [this message]
2008-10-22 5:07 ` David Miller
2008-10-22 5:11 ` Randy Dunlap
2008-10-22 5:20 ` David Miller
2008-10-22 5:09 ` Randy Dunlap
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=20081022050142.GA11674@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=sfr@canb.auug.org.au \
/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