login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
10
Re: [PATCH 2/2 -next] niu: always include of_device.h
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: [PATCH 2/2 -next] niu: always include of_device.h
Date: Wednesday, June 9, 2010 - 5:29 pm
From: Grant Likely <grant.likely@secretlab.ca> Date: Wed, 9 Jun 2010 17:45:54 -0600
quoted text
> On Wed, Jun 9, 2010 at 4:44 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote: >> From: Randy Dunlap <randy.dunlap@oracle.com> >> >> The niu driver uses struct of_device when built on any arch, not >> only SPARC64, so always #include <linux/of_device.h>. >> >> drivers/net/niu.c:9700: warning: 'struct of_device' declared inside parameter list >> drivers/net/niu.c:9700: warning: its scope is only this definition or declaration, which is probably not what you want >> drivers/net/niu.c:9716: warning: assignment from incompatible pointer type >> >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> >> Cc: Grant Likely <grant.likely@secretlab.ca> >> Cc: Dave Miller <davem@davemloft.net> >> --- >> drivers/net/niu.c | 3 --- > > Looks okay to me (but I haven't build tested it yet). The bulk of > of_device.h is compiled out when CONFIG_OF_DEVICE is not selected. > > David, are you okay with me taking this via my tree as it depends on > Randy's other patch?
Yep, that's totally fine with me: Acked-by: David S. Miller <davem@davemloft.net> --
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: Tree for June 9
, Stephen Rothwell
, (Tue Jun 8, 8:34 pm)
Re: linux-next: Tree for June 9 (niu)
, Randy Dunlap
, (Wed Jun 9, 10:36 am)
Re: linux-next: Tree for June 9 (niu)
, David Miller
, (Wed Jun 9, 11:06 am)
Re: linux-next: Tree for June 9 (niu)
, Randy Dunlap
, (Wed Jun 9, 11:08 am)
[PATCH] input: fixup X86_MRST selects
, Randy Dunlap
, (Wed Jun 9, 3:29 pm)
Re: [PATCH] input: fixup X86_MRST selects
, Dmitry Torokhov
, (Wed Jun 9, 3:40 pm)
Re: [PATCH] input: fixup X86_MRST selects
, Randy Dunlap
, (Wed Jun 9, 3:42 pm)
[PATCH 1/2 -next] of_device.h: provide struct of_device ev ...
, Randy Dunlap
, (Wed Jun 9, 3:44 pm)
[PATCH 2/2 -next] niu: always include of_device.h
, Randy Dunlap
, (Wed Jun 9, 3:44 pm)
Re: [PATCH 2/2 -next] niu: always include of_device.h
, Grant Likely
, (Wed Jun 9, 4:45 pm)
Re: [PATCH 1/2 -next] of_device.h: provide struct of_devic ...
, Grant Likely
, (Wed Jun 9, 4:47 pm)
Re: [PATCH 2/2 -next] niu: always include of_device.h
, David Miller
, (Wed Jun 9, 5:29 pm)
Re: [PATCH] input: fixup X86_MRST selects
, Dmitry Torokhov
, (Thu Jun 10, 12:04 pm)
Re: [PATCH] input: fixup X86_MRST selects
, Randy Dunlap
, (Tue Jun 15, 8:17 am)
problem: Re: [PATCH] input: fixup X86_MRST selects
, Randy Dunlap
, (Mon Jun 28, 12:03 pm)
Re: problem: Re: [PATCH] input: fixup X86_MRST selects
, Dmitry Torokhov
, (Mon Jun 28, 1:18 pm)
Re: problem: Re: [PATCH] input: fixup X86_MRST selects
, Randy Dunlap
, (Mon Jun 28, 1:23 pm)
RE: problem: Re: [PATCH] input: fixup X86_MRST selects
, Pan, Jacob jun
, (Mon Jun 28, 2:12 pm)
Re: problem: Re: [PATCH] input: fixup X86_MRST selects
, Dmitry Torokhov
, (Mon Jun 28, 3:44 pm)
RE: problem: Re: [PATCH] input: fixup X86_MRST selects
, Pan, Jacob jun
, (Mon Jun 28, 4:22 pm)
Re: problem: Re: [PATCH] input: fixup X86_MRST selects
, Dmitry Torokhov
, (Thu Jul 1, 9:46 pm)
Re: problem: Re: [PATCH] input: fixup X86_MRST selects
, H. Peter Anvin
, (Thu Jul 1, 11:27 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate