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

From: WANG Cong
Date: Tue Jul 31 2007 - 07:49:10 EST


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.

--
To do great work, you have to have a pure mind. You can think only about the
mathematics. Everything else is human weakness. Accepting prizes is showing
weakness.

-
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/