diff options
author | Emil Goode <emilgoode@gmail.com> | 2013-05-09 20:39:26 (GMT) |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-05-15 07:42:50 (GMT) |
commit | 867e1162068eb5632c829d453fd65d6089564f55 (patch) | |
tree | 6bb2cd61514923ac924a4e864e6e09c79e19cf4b /Documentation/auxdisplay | |
parent | f50efd2fdbd9b35b11f5778ed85beb764184bda9 (diff) | |
download | linux-867e1162068eb5632c829d453fd65d6089564f55.tar.xz |
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>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions