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
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate