From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id 321C11B464 for ; Wed, 6 Feb 2019 23:28:06 +0100 (CET) Received: by mail-pg1-f194.google.com with SMTP id v28so3558108pgk.10 for ; Wed, 06 Feb 2019 14:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Bxir8GEgL+4fC0MDC0j5snjAPgtQUeDO/O53JudofDg=; b=MMe1BqLGvFvdhVVlxs8A1Jr2qxKWaGXU2zhoG63yDM6YNu/l94SMAG0/63+Z6J3/29 1QZxCiKKMTmjNFy/Ml1i02wkQop93cd+EyW0ce3jF99FOlTsgFeo8X4oWSJB3PSyxs3i ZmkxGWhk5wQyg6QygaBrO+f20KFaBpz4cGqnW3aX4ABWnosPCheEjBydsB8rO7disAcM lGQ8M7DCx8hmjrD/lv1QXI2epXDaUjKJSfRRjXdjedkjlcKSavlFwA2J8G66u9w9WZI3 zbTuztM3RFLA+5MaZVcHQSaBHFTi0eMSPVlOV5FoN2lAvIbqovXLMs99VtziitO4YKp5 m2vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Bxir8GEgL+4fC0MDC0j5snjAPgtQUeDO/O53JudofDg=; b=m8Be8WsxihE+ZsA4aaeJY+q/Hx/e/dDO5BjQAsGYmQMx3Rt76CbESIADXmHscpn0M8 luISKReeiQsXJtrDn8B+fjIfjPW3YQqfKa+FL+S8wwugalN9uFcjbXpqC2LaLQ4M2eXg 3kJT4B4beWoTCNC8nXL0TIA0S1Wv8zDlU8vgp3yrunHpjpbdHtfTQus7VvtYfrENZtDO CJL8Tjv1n8TtLn6N5TYzodToXgfvtweCP0ba0w8DrtxcPkvYHy+H2piK4pO/A3gfFAiS as2cu/JAxscmK91+zVWVcJ4OOdKaR33u+bpm0gxFwta13e+n7N62bVq5RlDHnW+JiwzI drkw== X-Gm-Message-State: AHQUAub5zYnW8MMEz/CnBQROkq5d+Dk70vWjQyCvYnyVnmU3HERwH6NM kXSKuWAY45puiMnQT47Weiuh9bRK1h8= X-Google-Smtp-Source: AHgI3IYJ6sxAk76HxfdybToRL82TgfSd/2qALF4q5/geOoEiJzwD5zwQews2MEKbEB4ezvRE44+k1w== X-Received: by 2002:a63:554b:: with SMTP id f11mr7148601pgm.37.1549492085018; Wed, 06 Feb 2019 14:28:05 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m20sm14564764pgb.56.2019.02.06.14.28.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 14:28:04 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 6 Feb 2019 14:27:57 -0800 Message-Id: <20190206222757.10835-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] drivers: SPDX license id consistency X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 22:28:06 -0000 All drivers should have SPDX on the first line of the source files in the format /* SPDX-License-Identifier: ... Several files used minor modifications which were inconsistent with the pattern. Fix it to make scanning tools easier. Signed-off-by: Stephen Hemminger --- drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h | 6 +++--- drivers/bus/fslmc/qbman/qbman_debug.c | 5 ++--- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 4 +--- drivers/event/dpaa2/dpaa2_eventdev.h | 7 ++----- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 3 +-- drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h | 3 +-- drivers/net/dpaa2/dpaa2_pmd_logs.h | 3 +-- drivers/net/mvpp2/mrvl_mtr.c | 3 +-- 8 files changed, 12 insertions(+), 22 deletions(-) diff --git a/drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h b/drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h index 072ad551c548..653946cff9a0 100644 --- a/drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h +++ b/drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h @@ -1,7 +1,7 @@ -/* Copyright (C) 2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (C) 2015 Freescale Semiconductor, Inc. */ + struct qbman_swp; struct qbman_fq_query_np_rslt { diff --git a/drivers/bus/fslmc/qbman/qbman_debug.c b/drivers/bus/fslmc/qbman/qbman_debug.c index 591673abc76e..30fbdaac9398 100644 --- a/drivers/bus/fslmc/qbman/qbman_debug.c +++ b/drivers/bus/fslmc/qbman/qbman_debug.c @@ -1,6 +1,5 @@ -/* Copyright (C) 2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (C) 2015 Freescale Semiconductor, Inc. */ #include "compat.h" diff --git a/drivers/crypto/dpaa2_sec/hw/desc/pdcp.h b/drivers/crypto/dpaa2_sec/hw/desc/pdcp.h index 719ef605fdc4..fee844100532 100644 --- a/drivers/crypto/dpaa2_sec/hw/desc/pdcp.h +++ b/drivers/crypto/dpaa2_sec/hw/desc/pdcp.h @@ -1,7 +1,5 @@ -/* +/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ * Copyright 2008-2013 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ */ #ifndef __DESC_PDCP_H__ diff --git a/drivers/event/dpaa2/dpaa2_eventdev.h b/drivers/event/dpaa2/dpaa2_eventdev.h index c847b3eab5e4..bdac1aa5628a 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.h +++ b/drivers/event/dpaa2/dpaa2_eventdev.h @@ -1,8 +1,5 @@ -/* - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright 2017 NXP - * +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright 2017 NXP */ #ifndef __DPAA2_EVENTDEV_H__ diff --git a/drivers/event/dpaa2/dpaa2_eventdev_logs.h b/drivers/event/dpaa2/dpaa2_eventdev_logs.h index a2c2060cfb18..86f2e5393d5a 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev_logs.h +++ b/drivers/event/dpaa2/dpaa2_eventdev_logs.h @@ -1,5 +1,4 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 NXP */ diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h b/drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h index c79b3d1cfc9a..986264319623 100644 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h @@ -1,5 +1,4 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 NXP */ diff --git a/drivers/net/dpaa2/dpaa2_pmd_logs.h b/drivers/net/dpaa2/dpaa2_pmd_logs.h index c04babdb4d30..c47ba8e10bfc 100644 --- a/drivers/net/dpaa2/dpaa2_pmd_logs.h +++ b/drivers/net/dpaa2/dpaa2_pmd_logs.h @@ -1,5 +1,4 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 NXP */ diff --git a/drivers/net/mvpp2/mrvl_mtr.c b/drivers/net/mvpp2/mrvl_mtr.c index 9adcd9751bcb..39272acea457 100644 --- a/drivers/net/mvpp2/mrvl_mtr.c +++ b/drivers/net/mvpp2/mrvl_mtr.c @@ -1,5 +1,4 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018 Marvell International Ltd. * Copyright(c) 2018 Semihalf. * All rights reserved. -- 2.20.1