login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
30
Re: [PATCH] cs5535-mfd: fix warning on x86-64
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andres Salomon
Subject:
Re: [PATCH] cs5535-mfd: fix warning on x86-64
Date: Tuesday, November 30, 2010 - 2:44 pm
On Tue, 30 Nov 2010 10:22:57 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote:
quoted text
> On Mon, 29 Nov 2010 20:44:10 -0800 Andres Salomon wrote: > > > On Mon, 29 Nov 2010 11:52:57 +1100 > > Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > > > > Hi Samuel, > > > > > > After merging the mfd tree, today's linux-next build (x86_64 > > > allmodconfig) produced this warning: > > > > > > drivers/mfd/cs5535-mfd.c: In function 'cs5535_mfd_probe': > > > drivers/mfd/cs5535-mfd.c:106: warning: format '%d' expects type > > > 'int', but argument 3 has type 'long unsigned int' > > > > > > > Ick, ARRAY_SIZE is unsigned int on x86, unsigned long on x86-64. > > The patch below fixes this. > > > > No, it's a sizeof(), so it should be printed with %zd. > That works on x86_64 or i386. >
Thanks Randy. I'll provide a new patch. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
linux-next: build warning after merge of the mfd tree
, Stephen Rothwell
, (Sun Nov 28, 5:52 pm)
[PATCH] cs5535-mfd: fix warning on x86-64
, Andres Salomon
, (Mon Nov 29, 9:44 pm)
Re: [PATCH] cs5535-mfd: fix warning on x86-64
, Samuel Ortiz
, (Tue Nov 30, 3:01 am)
Re: linux-next: build warning after merge of the mfd tree
, Samuel Ortiz
, (Tue Nov 30, 3:02 am)
Re: [PATCH] cs5535-mfd: fix warning on x86-64
, Randy Dunlap
, (Tue Nov 30, 11:22 am)
Re: [PATCH] cs5535-mfd: fix warning on x86-64
, Andres Salomon
, (Tue Nov 30, 2:44 pm)
[PATCH] cs5535-mfd: fix warning on x86-64 (v2)
, Andres Salomon
, (Tue Nov 30, 2:54 pm)
Re: [PATCH] cs5535-mfd: fix warning on x86-64 (v2)
, Randy Dunlap
, (Tue Nov 30, 3:36 pm)
Re: [PATCH] cs5535-mfd: fix warning on x86-64
, Andres Salomon
, (Tue Dec 7, 11:38 am)
Re: [PATCH] cs5535-mfd: fix warning on x86-64
, Samuel Ortiz
, (Thu Dec 9, 4:49 am)
Navigation
Mailing list archives
Recent posts
Popular discussions