login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
28
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_main.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: Nathan Lynch <ntl@...>
Cc: Jan-Bernd Themann <ossthema@...>, Sudhir Kumar <skumar@...>, <akpm@...>, <linux-kernel@...>, <sam@...>, Christoph Raisch <raisch@...>
Subject:
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_main.c
Date: Monday, January 28, 2008 - 2:21 pm
On Fri, Jan 25, 2008 at 01:10:48PM -0600, Nathan Lynch wrote:
quoted text
> Jan-Bernd Themann wrote: > > Hi, > > > > sorry for answering so late, I'm only tracking netdev and ppc mailing list. > > > > On Thursday 10 January 2008 18:34, Greg KH wrote: > > > > The structure device_driver(in device.h) has a member struct driver_private which > > > > contains the member kobj (according to drivers/base/base.h). > > > > But in device.h struct driver_private has been declared localy and > > > > neither defined nor included from base.h. > > > > So my effort to use driver->driver_private->obj also does not work. > > > > (I am surprised from where do you access the struct device_driver) > > > > > > That is because a driver should not be accessing such a field. > > > > > > And especially not in this manner, why would this driver be creating a > > > symlink that has already been created by the driver core? This whole > > > thing can just be removed with no problems. Can you try just removing > > > the ehea_driver_sysfs_add and ehea_driver_sysfs_remove functions to > > > verify this as I don't have the hardware present to test it out. > > > > The eHEA driver tries to orginize its sys-entries as close as possible to > > other ethernet drivers. Each eHEA NIC has multiple ports which is not that > > common in PCI. This means that each port is represented by a subdirectory > > which has not the "driver" sys-link, only the root directory has. > > Some tools expect to have this driver link in each port directory. > > That is the reason why this link is created manually. > > > > Are there any other ways to create this link? > > > This is now broken in mainline... > > drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_add': > drivers/net/ehea/ehea_main.c:2812: error: 'struct device_driver' has > no member named 'kobj' > drivers/net/ehea/ehea_main.c:2815: error: 'struct device_driver' has > no member named 'kobj' > drivers/net/ehea/ehea_main.c:2818: error: 'struct device_driver' has > no member named 'kobj' > drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_remove': > drivers/net/ehea/ehea_main.c:2830: error: 'struct device_driver' has > no member named 'kobj'
Crap, I missed that one. I'll go fix it up right now... sorry about this. 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:
[2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_main.c
, Sudhir Kumar
, (Tue Jan 8, 12:33 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Thu Jan 10, 1:34 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Jan-Bernd Themann
, (Fri Jan 18, 5:16 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Mon Jan 28, 2:25 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Nathan Lynch
, (Fri Jan 25, 3:10 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Mon Jan 28, 2:24 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Nathan Lynch
, (Mon Jan 28, 3:22 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Jan-Bernd Themann
, (Tue Jan 29, 6:12 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Tue Jan 29, 9:23 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Christoph Raisch
, (Tue Jan 29, 10:20 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Thu Feb 7, 6:17 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Christoph Raisch
, (Tue Feb 12, 11:28 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Jan-Bernd Themann
, (Fri Feb 1, 10:37 am)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Mon Jan 28, 3:54 pm)
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/ehea_m...
, Greg KH
, (Mon Jan 28, 2:21 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Glauber de Oliveira Costa
[PATCH 0/19] desc_struct integration
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH 3/6] pkt_sched: sch_htb: Break all htb_do_events() after 2 jiifies
Eric Dumazet
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
Radu Rendec
htb parallelism on multi-core platforms
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
585 guests
online.
Online users
single12
Syndicate