Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes(take 4)
From: Cornelia Huck
Date: Tue Jul 31 2007 - 08:19:59 EST
On Tue, 31 Jul 2007 19:50:16 +0800,
WANG Cong <xiyou.wangcong@xxxxxxxxx> wrote:
> On Mon, Jul 30, 2007 at 07:38:47PM +0800, Eugene Teo wrote:
> >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_link', declared with attribute warn_unused_result
> >fs/partitions/check.c:401: warning: ignoring return value of
> > 'sysfs_create_file', declared with attribute warn_unused_result
> >
> >Got it right this time. Thanks Cornelia for help.
> >
>
> <snip>
>
> This was already done some months ago, see this:
> http://marc.info/?l=linux-mm-commits&m=117624330000536&w=2
>
> I don't know why this work is duplicated.
Ha, that may explain my feeling of deja vu...
IIRC, Andrew dropped the patch from -mm due to clashes with other
patches. Did you try to re-submit it?
-
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/