From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbdKEFGt (ORCPT ); Sun, 5 Nov 2017 01:06:49 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:56992 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbdKEFGo (ORCPT ); Sun, 5 Nov 2017 01:06:44 -0400 X-Google-Smtp-Source: ABhQp+QoXgctxDIzo43ERNK/r9ee5XhEPDfQJYw9DN7f/RCBXg7JVbxXE511lSv/CBtVu2K4HtukIQ== From: Gimcuan Hui To: "Guilherme G. Piccoli" , Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] tty: serial: jsm: add space before the open parenthesis '(' Date: Sun, 5 Nov 2017 05:06:22 +0000 Message-Id: <4a6d5be09c39a4f0f6ee1ee5b3216129f110957e.1509853735.git.gimcuan@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the checkpatch.pl complains: space required before the open parenthesis '('. Signed-off-by: Gimcuan Hui --- drivers/tty/serial/jsm/jsm_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 3853bfa5aa46..cbbadafe61fb 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -541,7 +541,7 @@ void jsm_input(struct jsm_channel *ch) tp = port->tty; bd = ch->ch_bd; - if(!bd) + if (!bd) return; spin_lock_irqsave(&ch->ch_lock, lock_flags); @@ -781,7 +781,7 @@ void jsm_check_queue_flow_control(struct jsm_channel *ch) if (qleft < 256) { /* HWFLOW */ if (ch->ch_c_cflag & CRTSCTS) { - if(!(ch->ch_flags & CH_RECEIVER_OFF)) { + if (!(ch->ch_flags & CH_RECEIVER_OFF)) { bd_ops->disable_receiver(ch); ch->ch_flags |= (CH_RECEIVER_OFF); jsm_dbg(READ, &ch->ch_bd->pci_dev, -- 2.11.0