The patch titled kobject: kobject_shadow_add cleanup has been added to the -mm tree. Its filename is kobject-kobject_shadow_add-cleanup.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: kobject: kobject_shadow_add cleanup From: Dmitriy Monakhov <dmonakhov@xxxxxxxxxx> - correct function name in comments - parent assignment does matter only inside "if" block, so move it inside this block. Signed-off-by: Monakhov Dmitriy <dmonakhov@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/kobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN lib/kobject.c~kobject-kobject_shadow_add-cleanup lib/kobject.c --- a/lib/kobject.c~kobject-kobject_shadow_add-cleanup +++ a/lib/kobject.c @@ -201,7 +201,7 @@ static void unlink(struct kobject * kobj } /** - * kobject_add - add an object to the hierarchy. + * kobject_shadow_add - add an object to the hierarchy. * @kobj: object. * @shadow_parent: sysfs directory to add to. */ @@ -234,8 +234,8 @@ int kobject_shadow_add(struct kobject * list_add_tail(&kobj->entry,&kobj->kset->list); spin_unlock(&kobj->kset->list_lock); + kobj->parent = parent; } - kobj->parent = parent; error = create_dir(kobj, shadow_parent); if (error) { _ Patches currently in -mm which might be from dmonakhov@xxxxxxxxxx are origin.patch kobject-kobject_shadow_add-cleanup.patch git-libata-all.patch git-netdev-all.patch mpt-fusion-handle-mpt_resume-failure-while-resuming.patch freevxfs-possible-null-pointer-dereference-fix.patch reiserfs-possible-null-pointer-dereference-during-resize.patch irq-add-__must_check-to-request_irq.patch ext3-dirindex-error-pointer-issues.patch floppy-handle-device_create_file-failure-while-init.patch splice-partial-write-handling-fix.patch udf-possible-null-pointer-dereference-while-load_partition.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