[PATCH 2/3] PM: hibernate: fix minor style inconsistencies

Mohit Joshi
2026-04-17T14:10:09Z

---
kernel/power/hibernate.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index af8d07bafe02..f077659790e0 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -837,8 +837,9 @@ int hibernate(void)
goto Thaw;

error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM);
+ /* Skip writing image if error or test mode */
if (error || freezer_test_done)
- goto Free_bitmaps;
+ goto Free_bitmaps;

if (in_suspend) {
unsigned int flags = 0;
@@ -848,7 +849,7 @@ int hibernate(void)
if (nocompress) {
flags |= SF_NOCOMPRESS_MODE;
} else {
- flags |= SF_CRC32_MODE;
+ flags |= SF_CRC32_MODE;

/*
* By default, LZO compression is enabled. Use SF_COMPRESSION_ALG_LZ4
--
2.43.0