2023-12-15 11:30:43

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] PM: hibernate: Fix spelling mistake "hiberantion" -> "hibernation"

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

Signed-off-by: Colin Ian King <[email protected]>
---
kernel/power/hibernate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index f8c81ef5b172..4b0b7cf2e019 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -671,7 +671,7 @@ static void power_down(void)
if (error == -EAGAIN || error == -EBUSY) {
swsusp_unmark();
events_check_enabled = false;
- pr_info("Wakeup event detected during hiberantion, rolling back.\n");
+ pr_info("Wakeup event detected during hibernation, rolling back.\n");
return;
}
fallthrough;
--
2.39.2



2023-12-15 11:37:38

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH][next] PM: hibernate: Fix spelling mistake "hiberantion" -> "hibernation"

On Fri, Dec 15, 2023 at 12:29 PM Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in a pr_info message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> kernel/power/hibernate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
> index f8c81ef5b172..4b0b7cf2e019 100644
> --- a/kernel/power/hibernate.c
> +++ b/kernel/power/hibernate.c
> @@ -671,7 +671,7 @@ static void power_down(void)
> if (error == -EAGAIN || error == -EBUSY) {
> swsusp_unmark();
> events_check_enabled = false;
> - pr_info("Wakeup event detected during hiberantion, rolling back.\n");
> + pr_info("Wakeup event detected during hibernation, rolling back.\n");
> return;
> }
> fallthrough;
> --

Thanks, I've fixed it in the tree in the meantime.