Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3493040pxj; Mon, 24 May 2021 08:00:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1H+CAX4nTm+UICYZpoP6SwQD8NbRHcdd57IVt6tso8g6dOwWng6pvr/9FnnLpSlEiKvf7 X-Received: by 2002:a17:906:b191:: with SMTP id w17mr24183307ejy.200.1621868404187; Mon, 24 May 2021 08:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621868404; cv=none; d=google.com; s=arc-20160816; b=RGNzkqplS/KQ0LteQrDt8xGH1SpUjYgJiAxzRKLVqJWoA8q7gSAtUZkNOQx8MWo/s3 GxvzUXC+7GjI5wpf2JdNhsfJ3wSAKXP9r69Y1hyZOneeNajFFbqOzwY3/I0qqkgyTCW7 3vRPRVy/UnptaY0cZtpKAM5994EgTkCQlm0gLpUtfStIAL8odnnUTlZfJvN5ovf0styF tLiwKazXq41DoEUUfnWFKU8aMczn75k1lo1fQ0d6RXlmOf428KZaX4LpFaSkI2nemSM/ BLEKhKik3ZjNHIq+4QlHy3Q/89D6zXvlHIq7AwjKquLGK/0dFGlZ+mS5Zk/S4ycjqZFY bqWQ== 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=rJkO+OkotALzajxogxuKqeTP9zUfWazG4no86F0LaPM=; b=A4Fk7VOD+eAhJd5RMzLDLc4s7OCzsnJ+wcA1wc+SmzGnnfrOIsrxsuQs+3wQuYhVly tiR/hT9GIqPJl4pn9PEUEj65lrBAkm43Ek8ztVmh+2D37cBcjiFPs4lIfe7JHfbVnuPr vMBemZ1v8OCltwnPlLwxCOycCH3fsY3Baf2nPkse/RvEO9YpsIKGBs/UmxjHH8+pfXly oJmo0FgRndmAVfplzxM1Fs/TAVppO0a+n2kAkOjwtaiAgTDAzlWVwkqMYkfKcf6fniaV Xz1Ue1ujwTg3k/EPLKfBIquBz63KXwLUoD3e3y5gpFHECiL3jXKhlWmRFW6+fot1tmzT 57kw== 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 ba29si12412306edb.137.2021.05.24.07.59.41; Mon, 24 May 2021 08:00:04 -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 S233998AbhEXO7H (ORCPT + 99 others); Mon, 24 May 2021 10:59:07 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:3988 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233970AbhEXOvx (ORCPT ); Mon, 24 May 2021 10:51:53 -0400 Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Fpg72504xzmZsw; Mon, 24 May 2021 22:47:58 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggems702-chm.china.huawei.com (10.3.19.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 24 May 2021 22:50:18 +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; Mon, 24 May 2021 22:50:18 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH net-next 06/10] net: wan: add some required spaces Date: Mon, 24 May 2021 22:47:13 +0800 Message-ID: <1621867637-2680-7-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621867637-2680-1-git-send-email-huangguangbin2@huawei.com> References: <1621867637-2680-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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 after that close brace '}'. Add space required before the open parenthesis '('. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/wanxl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index 7e5bf207a142..7965c648f3eb 100644 --- a/drivers/net/wan/wanxl.c +++ b/drivers/net/wan/wanxl.c @@ -111,7 +111,7 @@ static inline void wanxl_cable_intr(struct port *port) int valid = 1; const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; - switch(value & 0x7) { + switch (value & 0x7) { case STATUS_CABLE_V35: cable = "V.35"; break; @@ -131,7 +131,7 @@ static inline void wanxl_cable_intr(struct port *port) cable = "invalid"; } - switch((value >> STATUS_CABLE_PM_SHIFT) & 0x7) { + switch ((value >> STATUS_CABLE_PM_SHIFT) & 0x7) { case STATUS_CABLE_V35: pm = "V.35"; break; @@ -484,7 +484,7 @@ static int wanxl_puts_command(struct card *card, u32 cmd) return 0; schedule(); - }while (time_after(timeout, jiffies)); + } while (time_after(timeout, jiffies)); return -1; } @@ -654,7 +654,7 @@ static int wanxl_pci_init_one(struct pci_dev *pdev, return -ENODEV; } - switch(stat & 0xC0) { + switch (stat & 0xC0) { case 0x00: /* hmm - PUTS completed with non-zero code? */ case 0x80: /* PUTS still testing the hardware */ break; @@ -733,7 +733,7 @@ static int wanxl_pci_init_one(struct pci_dev *pdev, if ((stat = readl(card->plx + PLX_MAILBOX_5)) != 0) break; schedule(); - }while (time_after(timeout, jiffies)); + } while (time_after(timeout, jiffies)); if (!stat) { pr_warn("%s: timeout while initializing card firmware\n", -- 2.8.1