linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhaskar Singh <bhaskar.kernel@gmail.com>
To: mark.rutland@arm.com
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	mingo@kernel.org, bhaskar.kernel@gmail.com
Subject: [PATCH] kernel: Add spaces around '=' operator
Date: Fri, 17 Aug 2018 18:53:48 +0530	[thread overview]
Message-ID: <20180817132348.GA5326@Gentoo-PC> (raw)

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


             reply	other threads:[~2018-08-17 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-17 13:23 Bhaskar Singh [this message]
2018-08-17 16:19 ` [PATCH] kernel: Add spaces around '=' operator Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180817132348.GA5326@Gentoo-PC \
    --to=bhaskar.kernel@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).