lkml.org 
[lkml]   [2018]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kernel: Add spaces around '=' operator
This patch fixes the checkpatch.pl ERROR:

ERROR: spaces required around that '==' (ctx:VxV)

Signed-off-by: Bhaskar Singh <bhaskar.kernel@gmail.com>
---
kernel/acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/acct.c b/kernel/acct.c
index addf7732fb56..6dc0a55b575c 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -449,7 +449,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.16.4
\
 
 \ /
  Last update: 2018-08-17 15:24    [W:0.051 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site