2023-07-18 08:46:27

by hanyu001

[permalink] [raw]
Subject: [PATCH] powerpc: platforms: ps3: insert space before the open parenthesis '('

Fixes checkpatch error:

powerpc/platforms/ps3/os-area.c:782:ERROR: space required before the
open parenthesis '('

Signed-off-by: Yu Han <[email protected]>
---
arch/powerpc/platforms/ps3/os-area.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/platforms/ps3/os-area.c
b/arch/powerpc/platforms/ps3/os-area.c
index b384cd2d6b99..237a76d1c92f 100644
--- a/arch/powerpc/platforms/ps3/os-area.c
+++ b/arch/powerpc/platforms/ps3/os-area.c
@@ -779,7 +779,7 @@ void __init ps3_os_area_init(void)
os_area_get_property(node, &property_av_multi_out);
}

- if(!saved_params.rtc_diff)
+ if (!saved_params.rtc_diff)
saved_params.rtc_diff = SECONDS_FROM_1970_TO_2000;

if (node) {