* [PATCH 1/1] PM: hibernate: remove leading spaces before tabs
@ 2021-06-08 8:13 Zhen Lei
2021-06-11 16:53 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Zhen Lei @ 2021-06-08 8:13 UTC (permalink / raw)
To: Rafael J . Wysocki, Len Brown, Pavel Machek, linux-pm, linux-kernel
Cc: Zhen Lei
1) Run the following command to find and remove the leading spaces before
tabs:
find kernel/power/ -type f | xargs sed -r -i 's/^[ ]+\t/\t/'
2) Manually check and correct if necessary
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.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 af507c8c895b..f7a986078213 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -1146,7 +1146,7 @@ int create_basic_memory_bitmaps(void)
Free_second_object:
kfree(bm2);
Free_first_bitmap:
- memory_bm_free(bm1, PG_UNSAFE_CLEAR);
+ memory_bm_free(bm1, PG_UNSAFE_CLEAR);
Free_first_object:
kfree(bm1);
return -ENOMEM;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] PM: hibernate: remove leading spaces before tabs
2021-06-08 8:13 [PATCH 1/1] PM: hibernate: remove leading spaces before tabs Zhen Lei
@ 2021-06-11 16:53 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2021-06-11 16:53 UTC (permalink / raw)
To: Zhen Lei
Cc: Rafael J . Wysocki, Len Brown, Pavel Machek, linux-pm, linux-kernel
On Tue, Jun 8, 2021 at 10:13 AM Zhen Lei <thunder.leizhen@huawei.com> wrote:
>
> 1) Run the following command to find and remove the leading spaces before
> tabs:
> find kernel/power/ -type f | xargs sed -r -i 's/^[ ]+\t/\t/'
> 2) Manually check and correct if necessary
>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.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 af507c8c895b..f7a986078213 100644
> --- a/kernel/power/snapshot.c
> +++ b/kernel/power/snapshot.c
> @@ -1146,7 +1146,7 @@ int create_basic_memory_bitmaps(void)
> Free_second_object:
> kfree(bm2);
> Free_first_bitmap:
> - memory_bm_free(bm1, PG_UNSAFE_CLEAR);
> + memory_bm_free(bm1, PG_UNSAFE_CLEAR);
> Free_first_object:
> kfree(bm1);
> return -ENOMEM;
> --
Applied as 5.14 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-11 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 8:13 [PATCH 1/1] PM: hibernate: remove leading spaces before tabs Zhen Lei
2021-06-11 16:53 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.