diff mbox series

[next] PM: hibernate: fix spelling mistake "shapshot" -> "snapshot"

Message ID 20200110100812.236881-1-colin.king@canonical.com (mailing list archive)
State Mainlined, archived
Headers show
Series [next] PM: hibernate: fix spelling mistake "shapshot" -> "snapshot" | expand

Commit Message

Colin King Jan. 10, 2020, 10:08 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in a pr_info message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 kernel/power/snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki Jan. 10, 2020, 11:16 a.m. UTC | #1
On Friday, January 10, 2020 11:08:12 AM CET Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in a pr_info message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  kernel/power/snapshot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
> index 353c5e9070ed..befe3c94767c 100644
> --- a/kernel/power/snapshot.c
> +++ b/kernel/power/snapshot.c
> @@ -1841,7 +1841,7 @@ int hibernate_preallocate_memory(void)
>  
>   out:
>  	stop = ktime_get();
> -	pr_info("Allocated %lu pages for shapshot\n", pages);
> +	pr_info("Allocated %lu pages for snapshot\n", pages);
>  	swsusp_show_speed(start, stop, pages, "Allocated");
>  
>  	return 0;
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 353c5e9070ed..befe3c94767c 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -1841,7 +1841,7 @@  int hibernate_preallocate_memory(void)
 
  out:
 	stop = ktime_get();
-	pr_info("Allocated %lu pages for shapshot\n", pages);
+	pr_info("Allocated %lu pages for snapshot\n", pages);
 	swsusp_show_speed(start, stop, pages, "Allocated");
 
 	return 0;