[dpdk-dev] FW: [PATCH] net/nfp: replace license text with SPDX tag

Hemant Agrawal hemant.agrawal at nxp.com
Thu Nov 7 10:13:13 CET 2019


Alejandro,
	Please ack this patch also.

Regards,
Hemant

> -----Original Message-----
> From: Hemant Agrawal <hemant.agrawal at nxp.com>
> Sent: Friday, September 27, 2019 2:04 PM
> To: alejandro.lucero at netronome.com; dev at dpdk.org
> Cc: Hemant Agrawal <hemant.agrawal at nxp.com>
> Subject: [PATCH] net/nfp: replace license text with SPDX tag
> Importance: High
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
>  drivers/net/nfp/nfp_net.c      | 28 +---------------------------
>  drivers/net/nfp/nfp_net_ctrl.h | 28 +---------------------------
> drivers/net/nfp/nfp_net_logs.h | 28 +---------------------------
> drivers/net/nfp/nfp_net_pmd.h  | 28 +---------------------------
>  4 files changed, 4 insertions(+), 108 deletions(-)
> 
> diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index
> f1a3ef2f9..985019dc3 100644
> --- a/drivers/net/nfp/nfp_net.c
> +++ b/drivers/net/nfp/nfp_net.c
> @@ -1,34 +1,8 @@
> -/*
> +/* SPDX-License-Identifier: BSD-3-Clause
>   * Copyright (c) 2014-2018 Netronome Systems, Inc.
>   * All rights reserved.
>   *
>   * Small portions derived from code Copyright(c) 2010-2015 Intel
> Corporation.
> - *
> - * Redistribution and use in source and binary forms, with or without
> - * modification, are permitted provided that the following conditions are
> met:
> - *
> - * 1. Redistributions of source code must retain the above copyright notice,
> - *  this list of conditions and the following disclaimer.
> - *
> - * 2. 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
> - *
> - * 3. Neither the name of the copyright holder 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 HOLDER 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.
>   */
> 
>  /*
> diff --git a/drivers/net/nfp/nfp_net_ctrl.h b/drivers/net/nfp/nfp_net_ctrl.h
> index fc3540a2e..4f26ccf48 100644
> --- a/drivers/net/nfp/nfp_net_ctrl.h
> +++ b/drivers/net/nfp/nfp_net_ctrl.h
> @@ -1,32 +1,6 @@
> -/*
> +/* SPDX-License-Identifier: BSD-3-Clause
>   * Copyright (c) 2014, 2015 Netronome Systems, Inc.
>   * All rights reserved.
> - *
> - * Redistribution and use in source and binary forms, with or without
> - * modification, are permitted provided that the following conditions are
> met:
> - *
> - * 1. Redistributions of source code must retain the above copyright notice,
> - *  this list of conditions and the following disclaimer.
> - *
> - * 2. 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
> - *
> - * 3. Neither the name of the copyright holder 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 HOLDER 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.
>   */
> 
>  /*
> diff --git a/drivers/net/nfp/nfp_net_logs.h
> b/drivers/net/nfp/nfp_net_logs.h index 37690576a..27dd87611 100644
> --- a/drivers/net/nfp/nfp_net_logs.h
> +++ b/drivers/net/nfp/nfp_net_logs.h
> @@ -1,32 +1,6 @@
> -/*
> +/* SPDX-License-Identifier: BSD-3-Clause
>   * Copyright (c) 2014, 2015 Netronome Systems, Inc.
>   * All rights reserved.
> - *
> - * Redistribution and use in source and binary forms, with or without
> - * modification, are permitted provided that the following conditions are
> met:
> - *
> - * 1. Redistributions of source code must retain the above copyright notice,
> - *  this list of conditions and the following disclaimer.
> - *
> - * 2. 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
> - *
> - * 3. Neither the name of the copyright holder 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 HOLDER 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.
>   */
> 
>  #ifndef _NFP_NET_LOGS_H_
> diff --git a/drivers/net/nfp/nfp_net_pmd.h
> b/drivers/net/nfp/nfp_net_pmd.h index bc288bed6..cc1055c49 100644
> --- a/drivers/net/nfp/nfp_net_pmd.h
> +++ b/drivers/net/nfp/nfp_net_pmd.h
> @@ -1,32 +1,6 @@
> -/*
> +/* SPDX-License-Identifier: BSD-3-Clause
>   * Copyright (c) 2014-2018 Netronome Systems, Inc.
>   * All rights reserved.
> - *
> - * Redistribution and use in source and binary forms, with or without
> - * modification, are permitted provided that the following conditions are
> met:
> - *
> - * 1. Redistributions of source code must retain the above copyright notice,
> - *  this list of conditions and the following disclaimer.
> - *
> - * 2. 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
> - *
> - * 3. Neither the name of the copyright holder 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 HOLDER 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.
>   */
> 
>  /*
> --
> 2.17.1



More information about the dev mailing list