Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp913790pxj; Fri, 21 May 2021 02:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoGuyyRm877oQxUuEe1fUIP1+O0h7jVMo+nfORnpbhMiExalB3XzBdoAWF4AcoNVWsWaEQ X-Received: by 2002:a05:6402:2691:: with SMTP id w17mr10196583edd.140.1621587660625; Fri, 21 May 2021 02:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621587660; cv=none; d=google.com; s=arc-20160816; b=x04bvLV3GVh7aRRRq1ZHYyhEMUZxISeIAivVtuCyK4Ow08g8YfPBXCRXg33dfyhNGN v0WR5P0OlI9siGJ01aptm1y8yFTT0yKdFgYH41VQTjR3A6Xz9M6lkRqZUH7W/Mmvg/lL 47SksuObu64dzQQdFldMJ9zmt/wwcIt/qiqQiZU9hxF6xLq9ktuNm0FTpTLOLLBR3btn hG3L5/TPVZCl8q6nEkBXyMPP3WDtBHtD3rB3Boyn2fvA9YyDTycwzmrMmG+E9UQQNgiC N6iB/Suy7gEfL+44S4LIlkLWbmYrcLagDMfT4qZw+mc/xbS7HZA4/pTYMpGjhhaJNBU2 AL7Q== 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=jTShxrfLNhr4FxIZ/JlajNHqvRS7++tCI3Pdfbluz0w=; b=fpVFopK6sKhSHd0pNYreqyvyAf37HUwfdnEgAoRPDQj91EHPt59XwwxwFZoqxvT5Tm HJWyRsJXlTh6en42xD7XayStI9nPH8SxqcALjoxGNfaSd6yf9XAfE01VUULSNf2ang6a mrsmylfttXFBQWc9lR7QRcRPOADFxtbLMaef3tjAtrdTIwCn/ez0joXD5ye6y4w8DhhK 6ih1cLlhsaoXLFaC1obtlUGV75yWEScvtsQm/Zez7rPdtpysLKCTgU6gBU6mr4sfUOi/ QL1FBoloHXfORXmif9Su0GJCLl/ljl0KgSJOEhTCCyon8prfUvvPCW+/Tk9IAUiyo23i vFHg== 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 r9si4701060ejr.730.2021.05.21.02.00.36; Fri, 21 May 2021 02:01:00 -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 S236254AbhEUBMo (ORCPT + 99 others); Thu, 20 May 2021 21:12:44 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4563 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235906AbhEUBMj (ORCPT ); Thu, 20 May 2021 21:12:39 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FmT4r15S1zqVBj; Fri, 21 May 2021 09:08:28 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Fri, 21 May 2021 09:11:15 +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, 21 May 2021 09:11:15 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH net-next 1/6] net: wan: fix an code style issue about "foo* bar" Date: Fri, 21 May 2021 09:08:12 +0800 Message-ID: <1621559297-9651-2-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621559297-9651-1-git-send-email-huangguangbin2@huawei.com> References: <1621559297-9651-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 Fix the checkpatch error as "foo* bar" should be "foo *bar". Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/hd64572.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c index 9f60e3969bf8..e7d8653c4bde 100644 --- a/drivers/net/wan/hd64572.c +++ b/drivers/net/wan/hd64572.c @@ -54,7 +54,7 @@ static int sca_poll(struct napi_struct *napi, int budget); -static inline port_t* dev_to_port(struct net_device *dev) +static inline port_t *dev_to_port(struct net_device *dev) { return dev_to_hdlc(dev)->priv; } @@ -186,7 +186,7 @@ static void sca_init_port(port_t *port) static inline void sca_msci_intr(port_t *port) { u16 msci = get_msci(port); - card_t* card = port->card; + card_t *card = port->card; if (sca_in(msci + ST1, card) & ST1_CDCD) { /* Reset MSCI CDCD status bit */ @@ -286,7 +286,7 @@ static inline int sca_rx_done(port_t *port, int budget) static inline void sca_tx_done(port_t *port) { struct net_device *dev = port->netdev; - card_t* card = port->card; + card_t *card = port->card; u8 stat; unsigned count = 0; @@ -366,7 +366,7 @@ static irqreturn_t sca_intr(int irq, void *dev_id) static void sca_set_port(port_t *port) { - card_t* card = port->card; + card_t *card = port->card; u16 msci = get_msci(port); u8 md2 = sca_in(msci + MD2, card); unsigned int tmc, br = 10, brv = 1024; @@ -421,7 +421,7 @@ static void sca_set_port(port_t *port) static void sca_open(struct net_device *dev) { port_t *port = dev_to_port(dev); - card_t* card = port->card; + card_t *card = port->card; u16 msci = get_msci(port); u8 md0, md2; -- 2.8.1