Messages in this thread | | | From | Hollis Blanchard <> | Subject | Re: PPC64: vio_find_node removal? | Date | Fri, 2 Jul 2004 09:28:50 -0500 |
| |
On Jul 1, 2004, at 5:51 PM, Dmitry Torokhov wrote: > > Ok, so if we add call to kobject_get in kset_find_obj we can just add > kobject_put right in vio_find_name because there can be only one-to-one > match between a slot and a vio device and we don't need refcounting > there, > right?
Hmm. Yes, I agree that we need kobject_get and _put between kset_find_obj() and vio_find_name().
As for the lack of vio_dev refcounting... I think we can get away with it because rpaphp_vio.c is the only user who might unregister a vio_dev.
-- Hollis Blanchard IBM Linux Technology Center
- 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/
| |