login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
7
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, December 7, 2010 - 11:38 am
On Tue, 30 Nov 2010 11:01:38 +0100 Samuel Ortiz <sameo@linux.intel.com> wrote:
quoted text
> Hi Andres, > > On Mon, Nov 29, 2010 at 08:44:10PM -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. > > > > > > > > > > From: Andres Salomon <dilinger@queued.net> > > > > ARRAY_SIZE() returns unsigned long on x86-64 (rather than unsigned > > int); cast it to the desired type to shut gcc up. > Patch applied, many thanks. > I'll look at your subdevices patches by the end of this week. >
Did you get the chance to look at them? Also, note that there's an updated patch for the cs5535-mfd warnings (v2, acked by Randy). --
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.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Linus Torvalds
Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeab...
Matthew Wilcox
Re: Pull request for semaphore include changes
Benjamin Herrenschmidt
Re: [RFC PATCH 03/11] ppc: Create ops to choose between direct window and iommu ba...
git
:
Junio C Hamano
Re: pack operation is thrashing my server
Tay Ray Chuan
Re: [PATCH 02/18] http-push, http-walker: style fixes
Chris Frey
whitespace checking in git-add?
Luben Tuikov
Re: New way of tracking remote branches -- question
Kirill Smelkov
[TopGit PATCH] tg help: <something>: improve readability
git-commits-head
:
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
rtl8187: use DMA-aware buffers with usb_control_msg
Linux Kernel Mailing List
[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data
Linux Kernel Mailing List
epoll: clean up ep_modify
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
Valentine Barshak
[PATCH 1/2] ibm_newemac: PowerPC 440GX EMAC PHY clock workaround
Hannes Eder
[PATCH 06/27] drivers/net/atlx: fix sparse warnings: make symbols static
Gerrit Renker
Re: [PATCH 16/37] dccp: API to query the current TX/RX CCID
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
Kamigishi Rei
Re: HEAD newfs/sysinstall issues
Julian Elischer
Re: reproducible panic in netisr
Bruce Cran
sctp panic in _mtx_lock_sleep when attempting to connect to a remote machine
韓家標 Bill Hacker
Re: ZFS honesty
Colocation donated by:
Syndicate