Re: [-mm3 PATCH] (Retry) Check the return value of kobject_add andetc.

From: Cornelia Huck
Date: Wed Apr 11 2007 - 05:22:47 EST


On Tue, 10 Apr 2007 15:18:15 -0700,
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> Note that I changed it to not send the KOBJ_REMOVE if we didn't send a
> KOBJ_ADD.

The whole part_uevent_suppress stuff is not really nice, causing the
code to use a lot of kobject_{init,add} and kobject_{del,put} instead
of kobject_register and kobject_unregister. Looking at
driver-class/block-device.patch in Greg's tree, it should be possible
to use something like the uevent_filter stuff after block has been
converted.
-
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/