The patch titled driver core fixes: sysfs_create_link() retval check in class.c has been removed from the -mm tree. Its filename is driver-core-fixes-sysfs_create_link-retval-check-in.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: driver core fixes: sysfs_create_link() retval check in class.c From: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Check for return value of sysfs_create_link() in class_device_add(). Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/base/class.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/base/class.c~driver-core-fixes-sysfs_create_link-retval-check-in drivers/base/class.c --- a/drivers/base/class.c~driver-core-fixes-sysfs_create_link-retval-check-in +++ a/drivers/base/class.c @@ -562,7 +562,10 @@ int class_device_add(struct class_device goto out2; /* add the needed attributes to this device */ - sysfs_create_link(&class_dev->kobj, &parent_class->subsys.kset.kobj, "subsystem"); + error = sysfs_create_link(&class_dev->kobj, + &parent_class->subsys.kset.kobj, "subsystem"); + if (error) + goto out3; class_dev->uevent_attr.attr.name = "uevent"; class_dev->uevent_attr.attr.mode = S_IWUSR; class_dev->uevent_attr.attr.owner = parent_class->owner; _ Patches currently in -mm which might be from cornelia.huck@xxxxxxxxxx are origin.patch driver-core-fixes-make_class_name-retval-check.patch driver-core-fixes-device_register-retval-check-in.patch driver-core-fixes-check-for-return-value-of-sysfs_create_link.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html