summaryrefslogtreecommitdiff
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-02 09:23:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-02 09:23:43 +0300
commit16ecf49c10a1e8ecf917f91b93dd85624349e930 (patch)
treef05d0a17219ae9173c45deee57b06e807632c6d0 /drivers/md/dm-raid.c
parent708d0bff9121506db08adb73845a3c70312fadf3 (diff)
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff)
downloadlinux-16ecf49c10a1e8ecf917f91b93dd85624349e930.tar.xz
Merge 4.18-rc3 into tty-next
We want ths tty core changes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-raid.c')
-rw-r--r--drivers/md/dm-raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
index ab13fcec3fca..75df4c9d8b54 100644
--- a/drivers/md/dm-raid.c
+++ b/drivers/md/dm-raid.c
@@ -588,7 +588,7 @@ static const char *raid10_md_layout_to_format(int layout)
}
/* Return md raid10 algorithm for @name */
-static const int raid10_name_to_format(const char *name)
+static int raid10_name_to_format(const char *name)
{
if (!strcasecmp(name, "near"))
return ALGORITHM_RAID10_NEAR;