From: Jiri Slaby Date: Wed, 28 Oct 2009 21:55:42 +0000 (+0100) Subject: PM / Hibernate: Add newline to load_image() fail path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf9fd67a0328d56eff6022f80d4eb88ba6614119;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PM / Hibernate: Add newline to load_image() fail path Finish a line by \n when load_image fails in the middle of loading. Signed-off-by: Jiri Slaby Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki --- diff --git a/kernel/power/swap.c b/kernel/power/swap.c index afa052b61161..890f6b11b1d3 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -536,7 +536,8 @@ static int load_image(struct swap_map_handle *handle, snapshot_write_finalize(snapshot); if (!snapshot_image_loaded(snapshot)) error = -ENODATA; - } + } else + printk("\n"); swsusp_show_speed(&start, &stop, nr_to_read, "Read"); return error; }