Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4301456pxj; Wed, 12 May 2021 02:31:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvQFQHAdS8e4admpj2FMdkvczNA2ZLXmW7I6mZDPAhzihq7Miha5pzNvFyJYSictMQqfRy X-Received: by 2002:a02:7410:: with SMTP id o16mr31425668jac.37.1620811914122; Wed, 12 May 2021 02:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620811914; cv=none; d=google.com; s=arc-20160816; b=EP5mDEwHeIGf+4ZB7gaAtfCOfgyOQ0lI74uLlrqsUqEYfPq9f828TmGt+YleBBv6Sn LKPpb8f/2nAebGOAE1wEXfIWsGdYaAXfpFZtz5bKpg5dTxXS2iibKJj+oEku6f7dfniF REthlXF8GJ0NRL5+h+V/WfRlR4A+BhsWT+U4IGS64dfqDIYoznreCGQXnd8JFvmMICA9 pYnbvOPIz0q2kZMyS/O9j1TrK32fVTT7XknOMyf3unbDo2HgQPooCLepBBlMOmqE0P+S 7coHg09l+JdFqK6jsT/YuKaF2pvH+JUsAtuKy8lvIMHLojxO+ImV4HuKvN3zmZPXirzX Rq4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=NPoFcR3fh5L7AIh36AL7al4+YMnJBbcK3PYwvVeWX/c=; b=o0V9gRS81wtmd5iLPbnW/WCUuXqu7AOxuwdAGNcvwNDOYPOmUj2Q0xQPTih2RgxE// 3cyVfSMV9LvI82W/YueWCd73/0j/OP0mlsNG8ah+Qb2kVLFdUGSCgHQAKOVQ7ieiroWH ylUyJ7SP2zX4eI1IEZivwbpKKykVwm8YCWEdjzUVC9kdKz4JXv+mQmLIbo8jjTNPBmcN g+K3nRGwISWfB4QD209/KdoBAmN403pYqng4rF3w/ISJkgxM89at6NuVlNRXFxUkBd62 KFyntTgCg1NHtuPt9ZQJP5vPDMu7Y3IzC7mb0uqtlxxyDchg5as9EpW+6Df+rgq5V/JC SEAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t13si21617920jai.45.2021.05.12.02.31.42; Wed, 12 May 2021 02:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbhELJa5 (ORCPT + 99 others); Wed, 12 May 2021 05:30:57 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:2462 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbhELJan (ORCPT ); Wed, 12 May 2021 05:30:43 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Fg8Z225PlzBtTL; Wed, 12 May 2021 17:26:50 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 17:29:25 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH 06/17] tty: tty_io: Remove spaces before tabs Date: Wed, 12 May 2021 17:26:14 +0800 Message-ID: <1620811585-18582-7-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> References: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove spaces before tabs following the advice of checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_io.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 5b5e996..c5b0e49 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -33,7 +33,7 @@ * -- Nick Holloway , 27th May 1993. * * Rewrote canonical mode and added more termios flags. - * -- julian@uhunix.uhcc.hawaii.edu (J. Cowley), 13Jan94 + * -- julian@uhunix.uhcc.hawaii.edu (J. Cowley), 13Jan94 * * Reorganized FASYNC support so mouse code can share it. * -- ctm@ardi.com, 9Sep95 @@ -1114,7 +1114,7 @@ void tty_write_message(struct tty_struct *tty, char *msg) static ssize_t file_tty_write(struct file *file, struct kiocb *iocb, struct iov_iter *from) { struct tty_struct *tty = file_tty(file); - struct tty_ldisc *ld; + struct tty_ldisc *ld; ssize_t ret; if (tty_paranoia_check(tty, file_inode(file), "tty_write")) @@ -1928,8 +1928,8 @@ static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp) * @index: index for the device in the @return driver * @return: driver for this inode (with increased refcount) * - * If @return is not erroneous, the caller is responsible to decrement the - * refcount by tty_driver_kref_put. + * If @return is not erroneous, the caller is responsible to decrement the + * refcount by tty_driver_kref_put. * * Locking: tty_mutex protects get_tty_driver */ @@ -3317,11 +3317,11 @@ struct device *tty_register_device_attr(struct tty_driver *driver, EXPORT_SYMBOL_GPL(tty_register_device_attr); /** - * tty_unregister_device - unregister a tty device - * @driver: the tty driver that describes the tty device - * @index: the index in the tty driver for this tty device + * tty_unregister_device - unregister a tty device + * @driver: the tty driver that describes the tty device + * @index: the index in the tty driver for this tty device * - * If a tty device is registered with a call to tty_register_device() then + * If a tty device is registered with a call to tty_register_device() then * this function must be called when the tty device is gone. * * Locking: ?? -- 2.8.1