WARNING: ignoring return value on add_device.

From: Rakib Mullick
Date: Thu Jun 12 2008 - 12:13:05 EST


Hello, in kernel version 2.6.25.6 , 2.6.26-rc4 with defconfig shows following:
fs/partitions/check.c: In function `add_partition':
fs/partitions/check.c:381: warning: ignoring return value of
`device_add', declared with attribute warn_unused_result

Any patch ?
Thanks.
--
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/