Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2582837pxj; Mon, 17 May 2021 05:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzwtMCG7wgbQ/AavXxT5/XuFmPbcg5Tt/D256lWGBJN3elu01QrhGULa0NtOt8WpH7adWT X-Received: by 2002:a05:6638:b14:: with SMTP id a20mr56616793jab.132.1621253566594; Mon, 17 May 2021 05:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621253566; cv=none; d=google.com; s=arc-20160816; b=t1+9yrZLnmUm++xA3fZzouI0yNRiifiZue0j9TA+srAmsrVyAEFc4R9sYzUdWVBSn/ I3LhUUShtAlkkImT9dDMjhm4FX/pNs6+3VFVnwYE3PKlitU7+U/uDGsrxF2bLI65Ao5l osluaYLGSpCqzocvq2IcE4jJTX1CdowBm2UW+zrTSwCX0fBDq2Lg5/vRcsuz5wqJEs/J 3Eay1GZkVfQpG6aSobKMbHGTYO+e+lvdp05/DzLgsxSf8/I1pDvxPooW7HiKNhzVaRfy rSLp3dv30SDZHgnG9UkrHx8vw7ArCfr+tpfkz2OH288lIQfIoTSHA7seTX7aR0bCaAW/ CG9A== 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=lH3oaFd9j/c5oXuyjuOe8zqxTIMHyUDF9WL3yKfSFvo=; b=uHbV1Ah0vyvOxdSMgCgVHYH591DSmmxFJPephhImYxO+F8YNcJIdCWkFUIWN2zZjjh rthnU5zPEHLerBLdslt/baB1VgSOhOPsbYy1WJPiQnaspbIQVuQpyvXFXbygoSJySfjr 4LaRUHh/38U8aLQUPG00p0Yjo5qCSjEE+tMBNZCmHsWSb0ZwwROwrM20RNUgDf+Zcnsc 4JqRpQerQ+bar2mgz1sLOrQ5N4KY6a+W8hDXYiVbuGlbseNRKjvdnLWNU2vSWLARVylP sA/xwycWmNsG7t0UcuNgg99mMFdR8sImy7eRvQZMjQqOr/w65XtxR1jDDI1yHJbLOPz1 9fNw== 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 v6si19582689jas.16.2021.05.17.05.12.32; Mon, 17 May 2021 05:12:46 -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 S235036AbhEQGl6 (ORCPT + 99 others); Mon, 17 May 2021 02:41:58 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3706 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232785AbhEQGlx (ORCPT ); Mon, 17 May 2021 02:41:53 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fk8Zg3fDWz16R4L; Mon, 17 May 2021 14:37:47 +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:31 +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:31 +0800 From: Xiaofei Tan To: , CC: , , , Xiaofei Tan Subject: [PATCH 9/9] tty: hvc_console: Move open brace { on the previous line Date: Mon, 17 May 2021 14:37:13 +0800 Message-ID: <1621233433-27094-10-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 issues that open brace { should be on the previous line, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/hvc/hvc_console.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index b6720b0..b96399e 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -140,8 +140,9 @@ static int hvc_flush(struct hvc_struct *hp) * static because kmalloc will not work during early console init. */ static const struct hv_ops *cons_ops[MAX_NR_HVC_CONSOLES]; -static uint32_t vtermnos[MAX_NR_HVC_CONSOLES] = - {[0 ... MAX_NR_HVC_CONSOLES - 1] = -1}; +static uint32_t vtermnos[MAX_NR_HVC_CONSOLES] = { + [0 ... MAX_NR_HVC_CONSOLES - 1] = -1 +}; /* * Console APIs, NOT TTY. These APIs are available immediately when -- 2.8.1