Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3494934pxj; Mon, 24 May 2021 08:02:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeSVBe7Kx9ghW33zpIrDkwWc8eKSFPxCo+81y1cfNA2Y8NC1KpYpQDGjhZaRpuihOwNO+g X-Received: by 2002:a05:6402:1713:: with SMTP id y19mr26051222edu.286.1621868527578; Mon, 24 May 2021 08:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621868527; cv=none; d=google.com; s=arc-20160816; b=mcPzcKZnHSfNMrrnEYln1jKRV6DKSWtF5UoTCx1v1WQ5j2rjWwJs3JcGYkycmWLU7S HKkGvdQTmtvOqi1zSFFsIwdVOJvRdIRK19qoXnSgMtJqDU2gTM8wXErozMmXPQql2R5z qChpWnDbih7EIxoAP/7tu37zRrdMHWn8/0BBACa628rTKPftVlSoUq0t73jLLSXBoOEx WWQbgIXOKg6nkSuOMGJ16V+k9FjjjeEjz4LtHIShzS8kL1nJkW6bNvrDWCb5O98HDMA8 eeowGMW7dZTt2KzYVM5pzCmFygviFSqsQCC5j/Dd86sJbTKNqwSuR/FEYlTFpG54u6O8 lZ7w== 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=XSNR/0fx6ZWfR6H9ClOZroXvtgfm9qradq+7I3JySpI=; b=IOcCAkHwBPEYCewhF9BBU/OF6KDCDsBcA+sADzfFs8ymwzazyb9HaUejUkDc4nFDRp JKevnnuMePmbpaUXqHdSwk/j4sWIS934PRT5Zb8NWgJdKKv95nH2WEoL1qYah7xYfoGH HsvH+D5wIjPBA0Lnml9GAersv7ILUYsB7X0RtnCtaBx3gkZUAuiY5pmRVySprROZDfRm fqqpVB4JIk1SVYHPtjIiJJ1ELUhSf9agI0jx18Q57K15DwYq4MlM1qUvjAhlfofaPmEf 8GRVYcVuFP8ZLBytNGPpmYwfGkbnMjhWXJtOQSXOrfJhL26Ui7kGTYwBkHx4i8/WK1WZ aGIQ== 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 p2si11952484edy.83.2021.05.24.08.01.44; Mon, 24 May 2021 08:02:07 -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 S234049AbhEXO7K (ORCPT + 99 others); Mon, 24 May 2021 10:59:10 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5687 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233963AbhEXOvx (ORCPT ); Mon, 24 May 2021 10:51:53 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fpg6R2MS3z1BRBw; Mon, 24 May 2021 22:47:27 +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; Mon, 24 May 2021 22:50:17 +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:17 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH net-next 02/10] net: wan: fix an code style issue about "foo* bar" Date: Mon, 24 May 2021 22:47:09 +0800 Message-ID: <1621867637-2680-3-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 Fix the checkpatch error as "foo* bar" and should be "foo *bar", and "(foo*)" should be "(foo *)". Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/wanxl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index 676dd813d36d..afca54cf3e82 100644 --- a/drivers/net/wan/wanxl.c +++ b/drivers/net/wan/wanxl.c @@ -32,7 +32,7 @@ #include "wanxl.h" -static const char* version = "wanXL serial card driver version: 0.48"; +static const char *version = "wanXL serial card driver version: 0.48"; #define PLX_CTL_RESET 0x40000000 /* adapter reset */ @@ -227,7 +227,7 @@ static inline void wanxl_rx_intr(struct card *card) } } -static irqreturn_t wanxl_intr(int irq, void* dev_id) +static irqreturn_t wanxl_intr(int irq, void *dev_id) { struct card *card = dev_id; int i; @@ -677,7 +677,7 @@ static int wanxl_pci_init_one(struct pci_dev *pdev, } for (i = 0; i < sizeof(firmware); i += 4) - writel(ntohl(*(__be32*)(firmware + i)), mem + PDM_OFFSET + i); + writel(ntohl(*(__be32 *)(firmware + i)), mem + PDM_OFFSET + i); for (i = 0; i < ports; i++) writel(card->status_address + -- 2.8.1