Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2378366pxj; Sun, 16 May 2021 23:46:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqD4lcTPXFwUs2XUu/gIQnIihm3cSo58kwphzqTJXIV5+q2aHcGvsMbCAG1/nF+IXf+SXC X-Received: by 2002:a92:1909:: with SMTP id 9mr51322459ilz.229.1621233985785; Sun, 16 May 2021 23:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621233985; cv=none; d=google.com; s=arc-20160816; b=KzVr7Lo6ZUQjZAD8vYFRKPjo9SimxSpzWELlekC1a7x79pUIPFt77NEjCJ4TWQwk/d ZULLca2TXnpnztkpfyA0cjik6oy9vxGjzfoIvCQM21FJV7THCvpee9m51cCcLyjJ/VMz gcTvJlhbaj7qhQPw3M6cEENhIBmCPoRj5mBMOB7sRM6a4ylprxDAV3ZNQ5g5IVB4ov8p HU2mJqNnl1r0MqtuviXTxfQ4VVKK3iR3g7rVSjAxr7PMsoaNjlsUgAbfn6qHWi5b/PHU 6mPr8EQQ6flaTlKLKUXbqG/fh96DhspoaGs7ueKIlh/ZqGhuZS946+OFyLEvmiy3g+xk kHZA== 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=V2q8j590Mcl0YFcBkYzxPSO1MXweCDbeTJy84Mnd84A=; b=jWQ4VvXK2IqEl19mo6SRMXOXSFKIOZlQaELEznG80bTnk7wZQ44BubBb3eTZ0fno9C gZTpwdQjPE+PQmQue0n8dfjYBbHwCB1n4k3COA8GDrmNHbhJvQ2T/MHbwHp3pFo7btmZ Wxu7ppz9OGN7tMVXuXk2/oJ2cwa7TMeP1VbmfqVgxp+Umh3LXQowGIBipM4OAhqRGF40 nFpWQDmbFGh2VwdPjCHWmdU9u5yZeIC96lkdDnJ4SrOwdY9bnYdQJOawxG2l96M7fZxB BATC0X9qp61z24YRvM0W63Oc35DvWgEHkJiCnG2XepnrKbQ5vrCPZuGtZjYETRzwvNyb PIYQ== 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 x5si17781218ilu.59.2021.05.16.23.46.13; Sun, 16 May 2021 23:46:25 -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 S235149AbhEQGmU (ORCPT + 99 others); Mon, 17 May 2021 02:42:20 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2986 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234901AbhEQGlx (ORCPT ); Mon, 17 May 2021 02:41:53 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fk8Yp6CQ7zQp9R; Mon, 17 May 2021 14:37:02 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 14:40:30 +0800 Received: from localhost.localdomain (10.67.165.24) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 14:40:30 +0800 From: Xiaofei Tan To: , CC: , , , Xiaofei Tan Subject: [PATCH 3/9] tty: hvc_console: Remove trailing whitespace Date: Mon, 17 May 2021 14:37:07 +0800 Message-ID: <1621233433-27094-4-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> References: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove trailing whitespace, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/hvc/hvc_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index ddf07ff..13f63d5 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -204,7 +204,7 @@ static struct tty_driver *hvc_console_device(struct console *c, int *index) } static int hvc_console_setup(struct console *co, char *options) -{ +{ if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES) return -ENODEV; -- 2.8.1