genhd must_check warning fix
Roland McGrath authored

Fixes:

	block/genhd.c:361: warning: ignoring return value of ‘class_register’, declared with attribute warn_unused_result
Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
Acked-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
ee27a558
Name Last commit Last update
..
Kconfig Only enable BLOCK_COMPAT if COMPAT is needed
Kconfig.iosched update I/O sched Kconfig help texts - CFQ is now default, not AS.
Makefile block: ll_rw_blk.c split, add blk-merge.c
as-iosched.c block: kill swap_io_context()
blk-barrier.c block: fix blkdev_issue_flush() not detecting and passing EOPNOTSUPP back
blk-core.c unexport blk_{get,put}_queue
blk-exec.c block: make core bits checkpatch compliant
blk-ioc.c cfq-iosched: add hlist for browsing parallel to the radix tree
blk-map.c block: fix shadowed variable warning in blk-map.c
blk-merge.c block: restore the meaning of rq->data_len to the true data length
blk-settings.c block: remove extern on function definition
blk-sysfs.c block: make core bits checkpatch compliant
blk-tag.c block/blk-tag.c should #include "blk.h"
blk.h proper prototype for blk_dev_init()
blktrace.c blktrace: Add blktrace ioctls to SCSI generic devices
bsg.c block: restore the meaning of rq->data_len to the true data length
cfq-iosched.c cfq-iosched: add hlist for browsing parallel to the radix tree
compat_ioctl.c blktrace: Add blktrace ioctls to SCSI generic devices
deadline-iosched.c block: let elv_register() return void
elevator.c elevator: make elevator_get() attempt to load the appropriate module
genhd.c genhd must_check warning fix
ioctl.c compat_ioctl: move common block ioctls to compat_blkdev_ioctl
noop-iosched.c block: let elv_register() return void
scsi_ioctl.c block: restore the meaning of rq->data_len to the true data length