]> git.baikalelectronics.ru Git - kernel.git/commit
genhd must_check warning fix
authorRoland McGrath <roland@redhat.com>
Wed, 12 Mar 2008 00:13:15 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Mar 2008 19:34:37 +0000 (12:34 -0700)
commit72645751f5bb97068593f1c32f528ee4b3198dd7
treedcf8c19fa113bf8bd1e8d5c97a4d527cc845e38d
parent3fe48825a5c96dc4e98447a88759a866f04f7b4e
genhd must_check warning fix

Fixes:

block/genhd.c:361: warning: ignoring return value of â€˜class_register’, declared with attribute warn_unused_result

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c