[PATCH] acct: fix coding style issue
From: GaoShengWu
Date: Wed Dec 14 2016 - 06:31:11 EST
Line 449 of acct.c violates chapter 3 of CodingStyle -
Use one space around '==' .
Signed-off-by: GaoShengWu <wugsh15@xxxxxxxxxx>
---
checkpatch.pl complained about the following missing space:
ERROR: spaces required around that '==' (ctx:VxV)
#449: FILE: kernel/acct.c:449:
+#if ACCT_VERSION==2
^
Patch was compile checked with: x86_64_defconfig
Patch is aginst:4.9.0 (localversion-next is next-20161213)
kernel/acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/acct.c b/kernel/acct.c
index 74963d1..491c240 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -446,7 +446,7 @@ static void fill_ac(acct_t *ac)
#endif
do_div(elapsed, AHZ);
ac->ac_btime = get_seconds() - elapsed;
-#if ACCT_VERSION==2
+#if ACCT_VERSION == 2
ac->ac_ahz = AHZ;
#endif
--
2.1.4