2008-06-12 16:12:52

by Rakib Mullick

[permalink] [raw]
Subject: WARNING: ignoring return value on add_device.

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.