summaryrefslogtreecommitdiff
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-16 12:03:25 +0300
committerMike Snitzer <snitzer@redhat.com>2016-06-16 19:09:54 +0300
commit68c1c4d5eafc65dda05bf7d3d172f10f6982e092 (patch)
treed59f770304efd10f1a6398bcc09eb7478485daaa /drivers/md/dm-crypt.c
parent6e20902e8f9e1551afa75bd499be853a95745b9f (diff)
downloadlinux-68c1c4d5eafc65dda05bf7d3d172f10f6982e092.tar.xz
dm raid: don't use 'const' in function return
A newly introduced function has 'const int' as the return type, but as "make W=1" reports, that has no meaning: drivers/md/dm-raid.c:510:18: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] This changes the return type to plain 'int'. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 33e53f06850f ("dm raid: introduce extended superblock and new raid types to support takeover/reshaping") Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions