projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff277f
)
PM / Hibernate: Add newline to load_image() fail path
author
Jiri Slaby
<jirislaby@gmail.com>
Wed, 28 Oct 2009 21:55:42 +0000
(22:55 +0100)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Tue, 3 Nov 2009 10:03:09 +0000
(11:03 +0100)
Finish a line by \n when load_image fails in the middle of loading.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/swap.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/power/swap.c
b/kernel/power/swap.c
index afa052b61161407b5691901e846e27df33bfd0e1..890f6b11b1d3afe3cde18f816e5a77fb09cf99cd 100644
(file)
--- 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;
}