Re: [-mm PATCH] sysdev_unregister() should call kobject_del()
From: Dave Hansen
Date: Fri Feb 08 2008 - 16:30:30 EST
On Fri, 2008-02-08 at 08:42 -0800, Badari Pulavarty wrote:
>
> I can add remove link before unregister() as you suggested.
>
> Regarding accessing kobject after freeing up, no one calls with
> "root".
> Why not clean it up first, like this ?
>
> Dave, are you okay with this ?
Yeah, I don't see any users of it, either. It looks fine to me.
-- Dave
--
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/