linux/drivers/md/bcache
Emil Goode 867e116206 bcache: Fix incompatible pointer type warning
The function pointer release in struct block_device_operations
should point to functions declared as void.

Sparse warnings:

drivers/md/bcache/super.c:656:27: warning:
	incorrect type in initializer (different base types)
	drivers/md/bcache/super.c:656:27:
	expected void ( *release )( ... )
	drivers/md/bcache/super.c:656:27:
	got int ( static [toplevel] *<noident> )( ... )

drivers/md/bcache/super.c:656:2: warning:
	initialization from incompatible pointer type [enabled by default]

drivers/md/bcache/super.c:656:2: warning:
	(near initialization for ‘bcache_ops.release’) [enabled by default]

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Kent Overstreet <koverstreet@google.com>
2013-05-15 00:42:50 -07:00
..
alloc.c bcache: Allocator cleanup/fixes 2013-04-30 19:14:40 -07:00
bcache.h bcache: Take data offset from the bdev superblock. 2013-04-20 17:56:12 -07:00
bset.c bcache: Use WARN_ONCE() instead of __WARN() 2013-04-08 13:33:48 -07:00
bset.h
btree.c bcache: Allocator cleanup/fixes 2013-04-30 19:14:40 -07:00
btree.h
closure.c bcache: Fix for the build fixes 2013-03-25 19:36:39 -06:00
closure.h bcache: Build fixes from test robot 2013-03-25 13:06:13 -06:00
debug.c bcache: Disable broken btree fuzz tester 2013-04-08 13:33:49 -07:00
debug.h
io.c bcache: Fix merge_bvec_fn usage for when it modifies the bvm 2013-04-22 14:44:24 -07:00
journal.c bcache: Sparse fixes 2013-04-08 13:33:48 -07:00
journal.h
Kconfig
Makefile
movinggc.c bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
request.c bcache: Take data offset from the bdev superblock. 2013-04-20 17:56:12 -07:00
request.h
stats.c bcache: Style/checkpatch fixes 2013-03-25 13:06:13 -06:00
stats.h
super.c bcache: Fix incompatible pointer type warning 2013-05-15 00:42:50 -07:00
sysfs.c bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
sysfs.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
trace.c
util.c bcache: Fix a format string overflow 2013-04-08 13:33:49 -07:00
util.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
writeback.c bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00