Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1699384pxj; Sat, 5 Jun 2021 00:09:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxO6luN0cEskw1Xka1Sn9RWTvHoVtQocV0t+XmW818E54MnNemxohmduACz42winuq/58a X-Received: by 2002:aa7:cd83:: with SMTP id x3mr8724018edv.373.1622876953828; Sat, 05 Jun 2021 00:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622876953; cv=none; d=google.com; s=arc-20160816; b=twXWF9wNIGnPPHiio3SGzCid+TFozKmD6GPrOOI/4brsBUqH/X2QVHsSJKcih0W4wN FDKjT7qMEybgoxWbK4O0qR4Ra31SIO49Gwp/pjAVo+vGkkLN8L2FziQR/CCNDopZ7glX NqoGOTjvWYtxre9RGyAK4zJwR4f/6FviYswhOIwXdEGJsZBoqCVogFoQoycZVCWW3bQq M8nlqAFVgmgJtauEA/tJfivCjfBKGLKR4kpNN7nnqbLCQ+3Mx06iu34S5ifz2CnbFRcg NTJ6smdnGR+FOM9uSWk8ay46Co/Ado3J/rkwCrKjzVl4Jl4M7YLJetCnljpiauJMgKPc YW8g== 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=LQBIrEmm3gCQWdtewLt9RIB8PG8gGonKKRGBZPjmYRw=; b=HGUreRBUAwJGrI0+KIOibgXi1CHDzrFJAimh+YgHSLKRSUIrDi0qL6ajKhbRa6yDWI Aw8eraIycpGAhxYEBIKXSj/ggm8SXERIETr9Ws8Hs1f+21xCOIExq+JFkhEZ88bTPlTd R4fsVC2LO9JVUilIDd3wBbV8LDJV3MbLlDaw537FfhYL4Z/F57LeCTsy2hmaS5nyxS7H C80e/i6II1xjG/37NX/b3hz848QOYbzDkGeHEKu9Nt25Q7uP7l7veshqqN/NdAM7Ad0o 9HWMcDcLmHZDaNJvHHV2WPenjV3Umyps19xqxY51MypzGkV1KQ+OyMqv7yweRlWYvTNZ AoNQ== 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 gl4si6879844ejb.133.2021.06.05.00.08.51; Sat, 05 Jun 2021 00:09:13 -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 S230250AbhFEHII (ORCPT + 99 others); Sat, 5 Jun 2021 03:08:08 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7112 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbhFEHIF (ORCPT ); Sat, 5 Jun 2021 03:08:05 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FxrFZ1wRmzYqfG; Sat, 5 Jun 2021 15:03:30 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sat, 5 Jun 2021 15:03:35 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 5 Jun 2021 15:03:35 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 8/8] net: hd64570: add some required spaces Date: Sat, 5 Jun 2021 15:00:29 +0800 Message-ID: <1622876429-47278-9-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1622876429-47278-1-git-send-email-huangguangbin2@huawei.com> References: <1622876429-47278-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li Add space required before the open parenthesis '('. Add space required after that close brace '}'. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/hd64570.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c index 8af647c..0d19e39 100644 --- a/drivers/net/wan/hd64570.c +++ b/drivers/net/wan/hd64570.c @@ -376,7 +376,7 @@ static irqreturn_t sca_intr(int irq, void *dev_id) int handled = 0; u8 page = sca_get_page(card); - while((stat = sca_intr_status(card)) != 0) { + while ((stat = sca_intr_status(card)) != 0) { handled = 1; for (i = 0; i < 2; i++) { port_t *port = get_port(card, i); @@ -413,7 +413,7 @@ static void sca_set_port(port_t *port) /* Baud Rate = CLOCK_BASE / TMC / 2^BR */ tmc = CLOCK_BASE / brv / port->settings.clock_rate; - }while (br > 1 && tmc <= 128); + } while (br > 1 && tmc <= 128); if (tmc < 1) { tmc = 1; -- 2.8.1