tmp_suning_uos_patched/drivers/message
Wang Chen 0293902a4d I2O: handle sysfs_create_link() failures
Compile warning:
ignoring return value of `sysfs_create_link', declared with attribute warn_unused_result.

If sysfs_create_link failed, take care of the return value and do some
error handle after the failure.

Since sysfs_remove_link() will check whether a link exists, when removing the
link in error path, we don't need to care whether a link was created.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:30 -07:00
..
fusion driver core: remove KOBJ_NAME_LEN define 2008-07-21 21:54:52 -07:00
i2o I2O: handle sysfs_create_link() failures 2008-07-24 10:47:30 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00