Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Eugene Teo
Cornelia Huck wrote: > On Mon, 30 Jul 2007 17:47:55 +0800, > Eugene Teo <[EMAIL PROTECTED]> wrote: > >> +err_out_del_link: >> +sysfs_remove_link(&p->kobj, "subsystem"); >> +err_out_del_kobj: >> +if (!disk->part_uevent_suppress) >> +kobject_uevent(&p->kobj, KOBJ_REMOVE); >> +

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Cornelia Huck
On Mon, 30 Jul 2007 17:47:55 +0800, Eugene Teo <[EMAIL PROTECTED]> wrote: > +err_out_del_link: > + sysfs_remove_link(&p->kobj, "subsystem"); > +err_out_del_kobj: > + if (!disk->part_uevent_suppress) > + kobject_uevent(&p->kobj, KOBJ_REMOVE); > + kobject_put(&p->kobj); > +er

[PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Eugene Teo
This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result fs/partitions/check.c:394: warning: ignoring return value of 'sysfs_create_lin