Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2378028pxj; Sun, 16 May 2021 23:45:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV5i2rwUCyl9saPauIQNrjG9gybASSuEtnC0XgqY9lIZXvbgMWQlJQcA9nRrJbmaMNL5jS X-Received: by 2002:a05:6e02:13d3:: with SMTP id v19mr15046136ilj.168.1621233959513; Sun, 16 May 2021 23:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621233959; cv=none; d=google.com; s=arc-20160816; b=yoZRdUHEYDiJpMlE7+7/SBj8VBzx7PaWBDlOaG34RaapqM09r2ollmdI+j+msHQWjw R9dviu/WoRaeiMURtIuUVufYxUgTAmzsQSXHZFhXyiFVZIj+Jkq3I4xQuyHlEfMyRScw SRHQ8R4lvMC1HIlvGzbGCZzNVfERIm7bH/z+U94dYUy0+SBUOeHTUN6z6D34KnL7Kn9o /E90AGoLW+8LV4BPi4eiLyvlwxv1V+mdDKxlCO3PtXyEpjAVt6DfV9jE5aJRKiPBKHwN mXMBjyrNfk00HoRgd1muABlb8kXuZ6Gq9sVKmVx2oTMt2mJPAStZZLwcnXJcqhZlknvE 1ORw== 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=WPhl3EWWBc3xHnBBtqfWAwzvnnZsYJOlLlz6+4NJI8U=; b=avNM8K5I/hN74jyHXKaYjFNdltcR6uYkhzh3tPiMV8ZgQyfyN3BKEQO59f0B4bPRMh ZGwgNYqN8YHyH06IUu/l+Ss99VFIyC6rppZTnuDvPNcXTkwn7QKSS73x3e+pyjJMdYM7 AU3Bta8cwIMFP2usFjrA7bDtiZ8gYBWc0wLfSeZ7VGbmx6gnCHz3RsyWU/gIVj8uWYtZ a2TBnwdutkq+39z7F+82vQ9H9/qT8v3Fe77DQ/W/cOkWl9DKzgqh108+fV5vIqbnexYb AqPhb4zU0geXi3wTIGWBXgLHvD6epBjlOAZvzANku6o4DwzE9vUDWfusENVFHe8fUjBV dOCg== 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 l11si17814435jah.65.2021.05.16.23.45.47; Sun, 16 May 2021 23:45:59 -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 S235099AbhEQGmG (ORCPT + 99 others); Mon, 17 May 2021 02:42:06 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3562 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234888AbhEQGlx (ORCPT ); Mon, 17 May 2021 02:41:53 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fk8Zf2NKLzmWGc; Mon, 17 May 2021 14:37:46 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggems705-chm.china.huawei.com (10.3.19.182) 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 1/9] tty: hvc_console: Fix spaces required around that '=' Date: Mon, 17 May 2021 14:37:05 +0800 Message-ID: <1621233433-27094-2-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 Fix spaces required around that '=', 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 d0f0253..a1eca9d 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -944,7 +944,7 @@ struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, * find index to use: * see if this vterm id matches one registered for console. */ - for (i=0; i < MAX_NR_HVC_CONSOLES; i++) + for (i = 0; i < MAX_NR_HVC_CONSOLES; i++) if (vtermnos[i] == hp->vtermno && cons_ops[i] == hp->ops) break; -- 2.8.1