mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rahul Bedarkar <rahulbedarkar89@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, Rahul Bedarkar <rahulbedarkar89@gmail.com>
Subject: [PATCH] char: misc: fix coding style issues
Date: Sun, 12 Oct 2014 00:02:19 +0530	[thread overview]
Message-ID: <1413052339-2702-1-git-send-email-rahulbedarkar89@gmail.com> (raw)

This patch fixes checkpatch.pl error
ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
---
 drivers/char/misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index a6b96b1..47c9b04 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -144,7 +144,7 @@ static int misc_open(struct inode *inode, struct file *file)
 	replace_fops(file, new_fops);
 	if (file->f_op->open) {
 		file->private_data = c;
-		err = file->f_op->open(inode,file);
+		err = file->f_op->open(inode, file);
 	}
 fail:
 	mutex_unlock(&misc_mtx);
@@ -279,7 +279,7 @@ static int __init misc_init(void)
 		goto fail_remove;
 
 	err = -EIO;
-	if (register_chrdev(MISC_MAJOR,"misc",&misc_fops))
+	if (register_chrdev(MISC_MAJOR, "misc", &misc_fops))
 		goto fail_pr_err;
 	misc_class->devnode = misc_devnode;
 	return 0;
-- 
1.8.3.2


             reply	other threads:[~2014-10-11 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11 18:32 Rahul Bedarkar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-04-10 22:00 [PATCH] char: misc: Fix " Shyam Sunder Reddy Padira
2026-05-22 10:42 ` Greg KH
2014-10-11 18:27 [PATCH] char: misc: fix " Rahul Bedarkar

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=1413052339-2702-1-git-send-email-rahulbedarkar89@gmail.com \
    --to=rahulbedarkar89@gmail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.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

Powered by JetHome