Re: device_find broken in 2.6.11?

From: Greg KH
Date: Fri Jul 08 2005 - 11:50:44 EST


On Sat, Jul 09, 2005 at 01:36:04AM +1000, Rusty Russell wrote:
> On Thu, 2005-07-07 at 21:29 -0700, Greg KH wrote:
> > On Fri, Jul 08, 2005 at 02:16:53PM +1000, Rusty Russell wrote:
> > >
> > > I was getting oopses in kset_find_obj when calling device_find in
> > > 2.6.11.12.
> >
> > Yup, there's a reason no one uses it. Use the version in 2.6.13-rc2, it
> > actually works.
> >
> > What are you wanting to use it for?
>
> The xenbus code

What is that? Any pointers to it?

> wants to find if a device is new:

new to whom? Busses usually drive the finding of new devices, so they
always know when a device has been found or goes away.

> the Xen code is currently against on 2.6.11.12.

If you have code that is using the driver core, it will need big changes
for 2.6.13 due to the internal rework that we have done. I suggest you
start now :)

Good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/