Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754031AbdDCQJT (ORCPT ); Mon, 3 Apr 2017 12:09:19 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:35649 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753898AbdDCQJR (ORCPT ); Mon, 3 Apr 2017 12:09:17 -0400 Message-ID: <58e273a7.c603630a.da1ba.baed@mx.google.com> X-Google-Original-Message-ID: <20170403160906.GA26591@> Date: Mon, 3 Apr 2017 21:39:06 +0530 From: Varsha Rao To: Matthew Wilcox Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/5] drivers: char: Add space after ','. References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 32 Add space which is required after ',' to follow Linux coding style. This patch fixes the checkpatch issue. Signed-off-by: Varsha Rao --- 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 ed8f79c..3a19fa3 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -150,7 +150,7 @@ static int misc_open(struct inode *inode, struct file *file) err = 0; replace_fops(file, new_fops); if (file->f_op->open) - err = file->f_op->open(inode,file); + err = file->f_op->open(inode, file); fail: mutex_unlock(&misc_mtx); return err; @@ -287,7 +287,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_printk; misc_class->devnode = misc_devnode; return 0; -- 2.9.3