diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-22 10:01:19 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-06-22 20:51:12 +0200 |
commit | f2ccaa5904666f84d4e6958d6db9d1e65ead5085 (patch) | |
tree | 5dc4d450bae8f6873aabb74b2aaa51e08165be34 /net/netrom/af_netrom.c | |
parent | dm zoned: avoid triggering reclaim from inside dmz_map() (diff) | |
download | linux-f2ccaa5904666f84d4e6958d6db9d1e65ead5085.tar.xz linux-f2ccaa5904666f84d4e6958d6db9d1e65ead5085.zip |
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>
Fixes: 552aa679f2657431 ("dm raid: use rs_is_raid*()")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'net/netrom/af_netrom.c')
0 files changed, 0 insertions, 0 deletions