Re: device_find broken in 2.6.11?

From: Greg KH
Date: Thu Jul 07 2005 - 23:41:14 EST


On Fri, Jul 08, 2005 at 02:16:53PM +1000, Rusty Russell wrote:
> Hi Greg,
>
> I was getting oopses in kset_find_obj when calling device_find in
> 2.6.11.12. Noone else in the kernel uses device_find, but I couldnt'
> see anything wrong with it (mind you, I can't understand the
> kset_find_obj code to judge it).
>
> Iterating manually using bus_for_each_dev works though.
>
> Known problem?

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?

thanks,

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/