Commit 10c9c8e7 authored by Stephen Boyd's avatar Stephen Boyd Committed by Mike Snitzer

dm init: remove trailing newline from calls to DMERR() and DMINFO()

These printing macros already add a trailing newline, so having another
one here just makes for blank lines when these prints are enabled.
Remove these needless newlines.

Fixes: 6bbc923d ("dm: add support to directly boot to a mapped device")
Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent dec7e649
...@@ -272,7 +272,7 @@ static int __init dm_init_init(void) ...@@ -272,7 +272,7 @@ static int __init dm_init_init(void)
return 0; return 0;
if (strlen(create) >= DM_MAX_STR_SIZE) { if (strlen(create) >= DM_MAX_STR_SIZE) {
DMERR("Argument is too big. Limit is %d\n", DM_MAX_STR_SIZE); DMERR("Argument is too big. Limit is %d", DM_MAX_STR_SIZE);
return -EINVAL; return -EINVAL;
} }
str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL); str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL);
...@@ -283,7 +283,7 @@ static int __init dm_init_init(void) ...@@ -283,7 +283,7 @@ static int __init dm_init_init(void)
if (r) if (r)
goto out; goto out;
DMINFO("waiting for all devices to be available before creating mapped devices\n"); DMINFO("waiting for all devices to be available before creating mapped devices");
wait_for_device_probe(); wait_for_device_probe();
list_for_each_entry(dev, &devices, list) { list_for_each_entry(dev, &devices, list) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment