PM: hibernate: remove leading spaces before tabs
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 8 Jun 2021 08:13:14 +0000 (16:13 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Jun 2021 16:52:05 +0000 (18:52 +0200)
 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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/snapshot.c

index af507c8c895b6e994f145762971157c77f2afe8b..f7a98607821350ddad7c50800a26e4ef20326f51 100644 (file)
@@ -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;