login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
27
Re: [Patch] drivers/base/core.c: fix a compile error
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <gregkh@...>
To: WANG Cong <xiyou.wangcong@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, Randy Dunlap <rdunlap@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: [Patch] drivers/base/core.c: fix a compile error
Date: Sunday, January 27, 2008 - 3:40 pm
On Sat, Jan 26, 2008 at 05:14:45PM +0800, WANG Cong wrote:
quoted text
> On Fri, Jan 25, 2008 at 03:24:13PM -0800, Jeremy Fitzhardinge wrote: > >Greg KH wrote: > >>Ah, sorry, I missed that "note" :( > >> > >>thanks, > >> > >>greg 'time to get that make randconfig system up and working' k-h > >> > > > >Here's a config that fails. > > > > Here's one possible fix. Please review. > > Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> > > --- > > Index: linux-2.6/include/linux/genhd.h > =================================================================== > --- linux-2.6.orig/include/linux/genhd.h > +++ linux-2.6/include/linux/genhd.h > @@ -12,6 +12,8 @@ > #include <linux/types.h> > #include <linux/kdev_t.h> > > +extern struct device_type part_type; > + > #ifdef CONFIG_BLOCK > > #define kobj_to_dev(k) container_of(k, struct device, kobj) > @@ -19,7 +21,6 @@ > #define dev_to_part(device) container_of(device, struct hd_struct, dev) > > extern struct device_type disk_type; > -extern struct device_type part_type; > extern struct kobject *block_depr; > extern struct class block_class;
No, that will fix the build error, but die when linking :( I'll work on a real fix for this now... thanks, greg k-h --
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:
compile error in current git
, Jeremy Fitzhardinge
, (Fri Jan 25, 4:36 pm)
Re: compile error in current git
, Greg KH
, (Fri Jan 25, 6:17 pm)
Re: compile error in current git
, Randy Dunlap
, (Fri Jan 25, 7:00 pm)
Re: compile error in current git
, Greg KH
, (Fri Jan 25, 7:11 pm)
Re: compile error in current git
, Jeremy Fitzhardinge
, (Fri Jan 25, 7:24 pm)
[Patch] drivers/base/core.c: fix a compile error
, WANG Cong
, (Sat Jan 26, 5:14 am)
Re: [Patch] drivers/base/core.c: fix a compile error
, Greg KH
, (Sun Jan 27, 3:40 pm)
Re: [Patch] drivers/base/core.c: fix a compile error
, WANG Cong
, (Mon Jan 28, 1:19 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Justin C. Sherrill
Mailing list archive
Ingo Molnar
[patch 08/13] syslets: x86, add move_user_context() method
git
:
linux-netdev
:
Steven Rostedt
Re: -rt scheduling: wakeup bug?
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
14 users
and
964 guests
online.
Online users
tomleyton
simonsil99
strcmp
Johann43kondt
zeekec
bushirenynt
laptopsetlczw
michellestarl27
childrensfurni
electricpatioh
loanschicagopx
torontomortgag
razmikmckayjzs
findphonenumbe
Syndicate