diff mbox series

net/nfp: replace license text with SPDX tag

Message ID 20190927083341.30025-1-hemant.agrawal@nxp.com
State Accepted
Commit ff1097b3e5a18734a0ec5e3a4964306cf803c28f
Headers show
Series net/nfp: replace license text with SPDX tag | expand

Commit Message

Hemant Agrawal Sept. 27, 2019, 8:33 a.m. UTC
Signed-off-by: Hemant Agrawal <hemant.agrawal@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(-)

-- 
2.17.1

Comments

Hemant Agrawal Nov. 7, 2019, 9:13 a.m. UTC | #1
Alejandro,
	Please ack this patch also.

Regards,
Hemant

> -----Original Message-----

> From: Hemant Agrawal <hemant.agrawal@nxp.com>

> Sent: Friday, September 27, 2019 2:04 PM

> To: alejandro.lucero@netronome.com; dev@dpdk.org

> Cc: Hemant Agrawal <hemant.agrawal@nxp.com>

> Subject: [PATCH] net/nfp: replace license text with SPDX tag

> Importance: High

> 

> Signed-off-by: Hemant Agrawal <hemant.agrawal@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
Ferruh Yigit Nov. 25, 2019, 5:13 p.m. UTC | #2
On 11/7/2019 9:13 AM, Hemant Agrawal wrote:
> Alejandro,

> 	Please ack this patch also.


Unfortunately we don't have a nfp PMD maintainer as of now.

If this PMD keeps holding the updates, unfortunately we need to consider
removing the PMD from DPDK.

> 

> Regards,

> Hemant

> 

>> -----Original Message-----

>> From: Hemant Agrawal <hemant.agrawal@nxp.com>

>> Sent: Friday, September 27, 2019 2:04 PM

>> To: alejandro.lucero@netronome.com; dev@dpdk.org

>> Cc: Hemant Agrawal <hemant.agrawal@nxp.com>

>> Subject: [PATCH] net/nfp: replace license text with SPDX tag

>> Importance: High

>>

>> Signed-off-by: Hemant Agrawal <hemant.agrawal@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

>
Heinrich Kuhn Nov. 27, 2019, 1:47 p.m. UTC | #3
On 2019/09/27 10:33, hemant.agrawal at nxp.com (Hemant Agrawal) wrote:
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>


Acked-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Thomas Monjalon Nov. 28, 2019, 1:13 a.m. UTC | #4
27/11/2019 14:47, Heinrich Kuhn:
> On 2019/09/27 10:33, hemant.agrawal at nxp.com (Hemant Agrawal) wrote:

> > Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>

> 

> Acked-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>


Applied, thanks
diff mbox series

Patch

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.
  */
 
 /*