Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3490791pxj; Mon, 24 May 2021 07:56:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV6Pzj3u94fi+//rff0HBu3eCMVSfdxk90L6nZBMBkSc22pT+5ODb6xzDYyq3u/dak+3Qu X-Received: by 2002:a92:650d:: with SMTP id z13mr13110570ilb.193.1621868208298; Mon, 24 May 2021 07:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621868208; cv=none; d=google.com; s=arc-20160816; b=IAquZcTRmBHoNePca26c5HGS/tP4/cJI5lHTlxGr1/0Fa8FM2BnfSL2bfsoJKzQDSr eVshmgefBp6+zFXJ9iF2rEuW++kiDAlIioYG4M2ATXWrmq/sv7A04cZACuH4Ij9/NRgi bo0bNMH+TjUo7crdyCobvbNsdMuY9lAgU47Jylz1xtRXRj4rLoXsOc47FGg1C63g+kqN QzzFSNT81UNCBWmtfSQbZaCK3zj9FBzMoCIr27/rQIQz59s/aodui1Jfp2g+v1gF627Y DL8Fd8M+znki2O47XfA8hXaXvUwbU5Vh6lArQvruh0LHwAo5xD0svHmdbXIqMjjK1Xsn d9og== 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=gBP4RAOiUkRr7UjxRURT21Q4HqJ73Jino1x6/Ql6iBk=; b=voPmRHXqdRzfV+ijw4gIZfvmmFPA7x8Un/esjbdpcD3WdQbLRKskm9WRRBCN7ytmZZ fp+Zv8t1Tj5kST2EDgIbzAM5mQjCfpcFQ1/RkhHioJnJymR7I93RjR3kIlIuNJbzSo3m XEK3nrHp7vmpFEzGNw5H3ZQuzKxyRssHkqHSo49NfmXq+If1LgPVvihxJQPmOdCo5JJV QeiASzI32YVIl3Nq1ZdJd63dqQH8oGvmtMppFBlu+Z0nMXyrQ+ZPSJEHwcoUMP01NvcS P8z9nMBgrDl7/zBGhqZLH40EFPDjrAexWSsyr+V57+9oadAaXhFmMI3b/MmGCYnNMnwI tYQA== 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 j3si14390666ilo.104.2021.05.24.07.56.35; Mon, 24 May 2021 07:56:48 -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 S233590AbhEXO5S (ORCPT + 99 others); Mon, 24 May 2021 10:57:18 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5763 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233972AbhEXOvy (ORCPT ); Mon, 24 May 2021 10:51:54 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fpg5b50zrzmkmN; Mon, 24 May 2021 22:46:43 +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: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 09/10] net: wan: fix the comments style issue Date: Mon, 24 May 2021 22:47:16 +0800 Message-ID: <1621867637-2680-10-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 Block comments use * on subsequent lines. Block comments use a trailing */ on a separate line. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/wanxl.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index 5a89b6d4d92e..18de5f1bb0ed 100644 --- a/drivers/net/wan/wanxl.c +++ b/drivers/net/wan/wanxl.c @@ -569,12 +569,14 @@ static int wanxl_pci_init_one(struct pci_dev *pdev, return i; /* QUICC can only access first 256 MB of host RAM directly, - but PLX9060 DMA does 32-bits for actual packet data transfers */ + * but PLX9060 DMA does 32-bits for actual packet data transfers + */ /* FIXME when PCI/DMA subsystems are fixed. - We set both dma_mask and consistent_dma_mask to 28 bits - and pray pci_alloc_consistent() will use this info. It should - work on most platforms */ + * We set both dma_mask and consistent_dma_mask to 28 bits + * and pray pci_alloc_consistent() will use this info. It should + * work on most platforms + */ if (dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(28)) || dma_set_mask(&pdev->dev, DMA_BIT_MASK(28))) { pr_err("No usable DMA configuration\n"); @@ -624,8 +626,9 @@ static int wanxl_pci_init_one(struct pci_dev *pdev, #endif /* FIXME when PCI/DMA subsystems are fixed. - We set both dma_mask and consistent_dma_mask back to 32 bits - to indicate the card can do 32-bit DMA addressing */ + * We set both dma_mask and consistent_dma_mask back to 32 bits + * to indicate the card can do 32-bit DMA addressing + */ if (dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32)) || dma_set_mask(&pdev->dev, DMA_BIT_MASK(32))) { pr_err("No usable DMA configuration\n"); -- 2.8.1