Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1697206ybx; Sat, 2 Nov 2019 04:48:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYqabumnTtYqids/rzammXNExaT0FmFdgpQ6vb7Su40Yg2AufUeial85C0WLNjzInvcmXe X-Received: by 2002:a50:f7c7:: with SMTP id i7mr8785351edn.213.1572695285510; Sat, 02 Nov 2019 04:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572695285; cv=none; d=google.com; s=arc-20160816; b=G/icSdVmIgCxNg8RPMDmsRRFCdrcakzr6TSiQfgB9q4ifLMhqypudSak/KgKCQgBng r9WmPl/Qtj124zu1r3paODHbjQYiCrztmCV3d8UQuDhzigFMXTrLs86vN3eGTyIGG5bz QaBQ39sMVpXGG8MmDRV/YpeCuhkJIYg2yG/DN0u6y+Zn74s2lj25wN6eWdA2gu42FzeS lUWui/gw0dw0wNxsYs8ALQSeE94SLJZvq1i3C2kjgl7xWBvFJzdqaSap3hjuape/V22S oV/8sGi2xWa6kG+L+Qs+4KPijTyWAVKo/R8cmkS7wKrxMHwJlC3+W3TowtliTICjJ9+b tQZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=rzWL+hAxC2iURjLjtw57tQnderpopP1O5i0c1dhzA0Q=; b=DmQMfT+tBM3RPTOWlu6HoTezy4twGbdpHC9GtSG4cG3tLhLQHrWI6Jap2Wd/pd5e9D QFvyZkk7jKQsr5VnW8ljkz91LEuCZzfWZ/kp/aO/L0g+GvVw/XuEO5EYLh+64OVOYN8x umWBoyHJEOdBxNw9SVNf9wunCi9XkZbo1zBQIolElQHdMJ57pfB1hRcnNKvbBEfyH15p +G3JIaAUef3u8LqxSfEGHfDG+GCt6LyCYduh4AzokylhzO37yHE461a+l/n7iDzdHTTY BmVJL86poEPuWSpW07BqAvEhlJyw2rMBrZr7NLtrjbMEJFT6gCvjBffbqbD1P4VGCWuy P7xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qCYV37fL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a47si2538604edc.145.2019.11.02.04.47.39; Sat, 02 Nov 2019 04:48:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qCYV37fL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726650AbfKBLov (ORCPT + 99 others); Sat, 2 Nov 2019 07:44:51 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:36023 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbfKBLov (ORCPT ); Sat, 2 Nov 2019 07:44:51 -0400 Received: by mail-pf1-f194.google.com with SMTP id v19so8797162pfm.3; Sat, 02 Nov 2019 04:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=rzWL+hAxC2iURjLjtw57tQnderpopP1O5i0c1dhzA0Q=; b=qCYV37fL/9le4oEMegVwCWSrWxYsX1vYoh+YPOMRTNznpEFk10wfg85McyOWj9gmJb ajoH/Zt4FvcnHMM3zNIErcXpO0tNbs4Me++ZVaxuvEGm88zKm2RYY7+IDiqaRWVkRHRc Djpcb/oqiExRH5GCiaQ1G7ras988F1tWBrGjLRF2f9/lTckSo3NC6Uf2RdxgA5xXvKXV IdYFcnnNgGAp+dGlFxTcfs8K0Qy5jlqLBHOF8YO17RYtSHgLJAxmkBKDy3J+DVRlV6eJ ArzQMLwpv7+20sjUL7EIfGVSDe+m/Y09WQOUEsJsaIJTJw++jvKVvq3zNzqQOrOMnG/3 SAsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=rzWL+hAxC2iURjLjtw57tQnderpopP1O5i0c1dhzA0Q=; b=Gjs6aES0M/vcvojbZOQY5wxR1oV34Ik9uwZ8MSUcMRpSG/fIRC95yD06a3D7U8I2ld 5Bk32772ltmQrCcTzZCTTZqHbGoDEmODVW5ww+k7Wd5XkubQmfGELpjAWa55Rqow4R5d IYH7wGCv2K472zDb5ITOVbxKYKNtx5+peigZ2wFAmMb8oGwOevGCIWrCXtyuMoXt+Oe7 Nt+qfKv767g/PXdu7Gsamk4O8Aj5OaLbtf5r4BC+n9az93lDIdjEu9A7XImMASDxkBI9 ZcptXa/L7DKiO79HzRZEkNXyMBCL+yc1sKzHXgl+6BTCbJvmAEdJqqCsA5AJgtURP8Hn fTOA== X-Gm-Message-State: APjAAAUTBLj0OgO1FDsnBripTxgXpsh1+g3jEojmt74mHp9A+5lHQMUa EKTPCJ5G/+VvGEb1z44kmGI= X-Received: by 2002:a63:7247:: with SMTP id c7mr19407548pgn.311.1572695090305; Sat, 02 Nov 2019 04:44:50 -0700 (PDT) Received: from nishad ([2401:4900:36c3:b226:e981:2e26:83a4:d2df]) by smtp.gmail.com with ESMTPSA id s13sm6374879pfe.94.2019.11.02.04.44.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Nov 2019 04:44:49 -0700 (PDT) Date: Sat, 2 Nov 2019 17:14:42 +0530 From: Nishad Kamdar To: Yisen Zhuang , Salil Mehta , "David S. Miller" , Greg Kroah-Hartman , Joe Perches , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: hns3: Use the correct style for SPDX License Identifier Message-ID: <20191102114436.GA4375@nishad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch corrects the SPDX License Identifier style in header files related to Hisilicon network devices. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches Signed-off-by: Nishad Kamdar --- drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index e48023643f4c..016b834c202e 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HNAE3_H diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index 0725dc52341e..4ee9f5a124f6 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HNS3_ENET_H diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h index 919911fe02ae..5579ac991545 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HCLGE_CMD_H diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h index 278f21e02736..b04702e65689 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HCLGE_DCB_H__ diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h index 9e59f0e074be..844a9e2e526c 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HCLGE_MAIN_H diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h index ef095d9c566f..dd9a1218a7b0 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HCLGE_MDIO_H diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h index 95ef6e1204cf..45bcb67f90fd 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HCLGE_TM_H -- 2.17.1