[2/5] devtools: add license tag to cocci.sh

Message ID 20191204155519.7295-3-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series SPDX leftovers |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger Dec. 4, 2019, 3:55 p.m. UTC
  This file still had original BSD boilerplate text.
Replace it with SPDX tag.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 devtools/cocci.sh | 30 +-----------------------------
 1 file changed, 1 insertion(+), 29 deletions(-)
  

Comments

John McNamara Jan. 27, 2020, 10:52 a.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Stephen Hemminger
> Sent: Wednesday, December 4, 2019 3:55 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Subject: [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh
> 
> This file still had original BSD boilerplate text.
> Replace it with SPDX tag.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  devtools/cocci.sh | 30 +-----------------------------
>  1 file changed, 1 insertion(+), 29 deletions(-)
> 
> diff --git a/devtools/cocci.sh b/devtools/cocci.sh index
> 8b17a8cebac3..77b7447cdfcd 100755
> --- a/devtools/cocci.sh
> +++ b/devtools/cocci.sh
> @@ -1,34 +1,6 @@
>  #! /bin/sh
> -
> -# BSD LICENSE
> -#
> +# SPDX-License-Identifier: BSD-3-Clause
>  # Copyright 2015 EZchip Semiconductor Ltd.


Acked-by: John McNamara <john.mcnamara@intel.com> 

Can we please merge this (and the other SPDX patches but this one in particular) since the header gets flagged in an IP compliance tool that we use in Intel.

Since the original copyright was with EZchip I presume that Mellanox can now sign off on this or change the copyright if they wish. CC olga and Thomas.

John
  

Patch

diff --git a/devtools/cocci.sh b/devtools/cocci.sh
index 8b17a8cebac3..77b7447cdfcd 100755
--- a/devtools/cocci.sh
+++ b/devtools/cocci.sh
@@ -1,34 +1,6 @@ 
 #! /bin/sh
-
-# BSD LICENSE
-#
+# SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2015 EZchip Semiconductor Ltd.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-#   * Redistributions of source code must retain the above copyright
-#     notice, this list of conditions and the following disclaimer.
-#   * Redistributions in binary form must reproduce the above copyright
-#     notice, this list of conditions and the following disclaimer in
-#     the documentation and/or other materials provided with the
-#     distribution.
-#   * Neither the name of EZchip Semiconductor nor the names of its
-#     contributors may be used to endorse or promote products derived
-#     from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 # Apply coccinelle transforms.