]> err.no Git - linux-2.6/commit
fs/partition/check.c: fix return value warning
authorAbdel Benamrouche <draconux@gmail.com>
Fri, 25 Jul 2008 08:48:25 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:44 +0000 (10:53 -0700)
commitd805dda412346225a50af2d399d958a4bc676c38
tree34ac3439f553627677ec7d3531f40cbd254a6e0c
parentabe19b7b822a8fdbe3dbfd6e066d0698b4eefb06
fs/partition/check.c: fix return value warning

fs/partitions/check.c:381: warning: ignoring return value of ___device_add___,
  declared with attribute warn_unused_result

[akpm@linux-foundation.org: multiple-return-statements-per-function are evil]
Signed-off-by: Abdel Benamrouche <draconux@gmail.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>
fs/partitions/check.c
include/linux/genhd.h