Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp236729pxj; Thu, 10 Jun 2021 20:42:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWxLe4FJ9CHmLTa4tPe5bq0QEFohiDD0duD30o47/fZeRAmMelkYekXSSi3q++DPohE5Ed X-Received: by 2002:a17:907:1b02:: with SMTP id mp2mr1581892ejc.196.1623382931178; Thu, 10 Jun 2021 20:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623382931; cv=none; d=google.com; s=arc-20160816; b=adhxmS1N3vJJYl9OwwdVLG2joe0AL537ooj9JJuYYGKjBWLtbHNJFSATm8/NNKAt4q yeXudmBoG5raKd9IWQrDnjFPgN6TmDoxWRm2RpG2oHOcferfOydOXiFqVh9e5aetVOzO dy+3fdRZYj89tJxLTMHiY/BCktZsRYxuPjSSHmWvU3toSyuD9O+ycvYhHF000xNTU2Va NvJeskJwV5aoo+TPDImrLC+5uUv3Pjg/VdrDpn73QmNA3QUatuVlRnAl3xRAl1ikSdzG VFSg9Po/JCCDDV8Hha2kUXzlqT27+nhK1S9op4NsPO+QMSybwHbs2forwr38SUIUGSDC vQoA== 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=JRS5MdjO7hEkD+LU0oljDnoMQdTaqTymmWLtw7hKzv0=; b=ywT19hzZHUcHfzQ318b+X98beDlzVEA6QLGW6fa8M7HN2fCPG3O5Ap898ViBY2zOkG +DBJVhA75yajyqEww4uG5VFg9iwLy8q2Ay1+DrrWcK6Ld9z16EWdvqOelaM/9y5fGG8Z VesOGWf6fUrzvcgd59+3sXSC8He9r0AU1XpkaRyZjDvDF+M+2lMGzevk9dNrOwuuq/py WfqyACumrqEf6Xta40jczdqYWRzi4RaKxkR/4hoAM37Ih0MQoLr9dbtL8SvlzScdeSCV 6TCcUm05FJGradyyzfX52y5r3VdHMRB5Z1Bkp1T0QD2vVHVeiDLn+/ub2dfVbq9BZBXx 87WQ== 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 i8si3681157edr.440.2021.06.10.20.41.47; Thu, 10 Jun 2021 20:42:11 -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 S231626AbhFKDlp (ORCPT + 99 others); Thu, 10 Jun 2021 23:41:45 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3952 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231503AbhFKDlb (ORCPT ); Thu, 10 Jun 2021 23:41:31 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G1RMv5mFXz6xWn; Fri, 11 Jun 2021 11:36:27 +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; Fri, 11 Jun 2021 11:39:33 +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; Fri, 11 Jun 2021 11:39:32 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 7/8] net: pc300too: add some required spaces Date: Fri, 11 Jun 2021 11:36:21 +0800 Message-ID: <1623382582-37854-8-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623382582-37854-1-git-send-email-huangguangbin2@huawei.com> References: <1623382582-37854-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) 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 spaces required before the open parenthesis '('. Add spaces required after that close brace '}'. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/pc300too.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c index ecce999..885dcc5 100644 --- a/drivers/net/wan/pc300too.c +++ b/drivers/net/wan/pc300too.c @@ -68,7 +68,7 @@ typedef struct { u32 cs_base[4]; /* 3C-48h : Chip Select Base Addrs */ u32 intr_ctrl_stat; /* 4Ch : Interrupt Control/Status */ u32 init_ctrl; /* 50h : EEPROM ctrl, Init Ctrl, etc */ -}plx9050; +} plx9050; typedef struct port_s { struct napi_struct napi; @@ -85,7 +85,7 @@ typedef struct port_s { u16 txlast; u8 rxs, txs, tmc; /* SCA registers */ u8 chan; /* physical port # - 0 or 1 */ -}port_t; +} port_t; typedef struct card_s { int type; /* RSV, X21, etc. */ @@ -100,7 +100,7 @@ typedef struct card_s { u8 irq; /* interrupt request level */ port_t ports[2]; -}card_t; +} card_t; #define get_port(card, port) ((port) < (card)->n_ports ? \ (&(card)->ports[port]) : (NULL)) @@ -117,7 +117,7 @@ static void pc300_set_iface(port_t *port) sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, port->card); - switch(port->settings.clock_type) { + switch (port->settings.clock_type) { case CLOCK_INT: rxs |= CLK_BRG; /* BRG output */ txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ -- 2.8.1