[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1481714997-2670-1-git-send-email-wugsh15@lzu.edu.cn>
Date: Wed, 14 Dec 2016 19:29:57 +0800
From: GaoShengWu <wugsh15@....edu.cn>
To: linux-kernel@...r.kernel.org
Cc: ionut.m.alexa@...il.com, sfr@...b.auug.org.au,
viro@...iv.linux.org.uk, GaoShengWu <wugsh15@....edu.cn>
Subject: [PATCH] acct: fix coding style issue
Line 449 of acct.c violates chapter 3 of CodingStyle -
Use one space around '==' .
Signed-off-by: GaoShengWu <wugsh15@....edu.cn>
---
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
Powered by blists - more mailing lists