[Intel-xe] [PATCH] drm/xe: Update SPDX deprecated license identifier

Francois Dugast francois.dugast at intel.com
Tue Nov 7 09:56:31 UTC 2023


On Tue, Nov 07, 2023 at 09:24:40AM +0100, Thomas Hellström wrote:
> The "GPL-2.0" SPDX license identifier is deprecated. Update the
> code to use "GPL-2.0-only" instead. Choose this identifier over
> "GPL-2.0-or-later" since it's the most restrictive of the two and it's
> not fully clear that "GPL-2.0" also allows "GPL-2.0-or-later".
> 
> Cc: Francois Dugast <francois.dugast at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

Reviewed-by: Francois Dugast <francois.dugast at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_pt_walk.c    | 2 +-
>  drivers/gpu/drm/xe/xe_pt_walk.h    | 2 +-
>  drivers/gpu/drm/xe/xe_res_cursor.h | 2 +-
>  drivers/gpu/drm/xe/xe_trace.c      | 2 +-
>  drivers/gpu/drm/xe/xe_trace.h      | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pt_walk.c b/drivers/gpu/drm/xe/xe_pt_walk.c
> index 0def89af4372..8f6c8d063f39 100644
> --- a/drivers/gpu/drm/xe/xe_pt_walk.c
> +++ b/drivers/gpu/drm/xe/xe_pt_walk.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright © 2022 Intel Corporation
>   */
> diff --git a/drivers/gpu/drm/xe/xe_pt_walk.h b/drivers/gpu/drm/xe/xe_pt_walk.h
> index 42c51fa601ec..ec3d1e9efa6d 100644
> --- a/drivers/gpu/drm/xe/xe_pt_walk.h
> +++ b/drivers/gpu/drm/xe/xe_pt_walk.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Copyright © 2022 Intel Corporation
>   */
> diff --git a/drivers/gpu/drm/xe/xe_res_cursor.h b/drivers/gpu/drm/xe/xe_res_cursor.h
> index 006fc1361967..0a306963aa8e 100644
> --- a/drivers/gpu/drm/xe/xe_res_cursor.h
> +++ b/drivers/gpu/drm/xe/xe_res_cursor.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
>  /*
>   * Copyright 2020 Advanced Micro Devices, Inc.
>   *
> diff --git a/drivers/gpu/drm/xe/xe_trace.c b/drivers/gpu/drm/xe/xe_trace.c
> index 2570c0b859c4..2527c556bff1 100644
> --- a/drivers/gpu/drm/xe/xe_trace.c
> +++ b/drivers/gpu/drm/xe/xe_trace.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright © 2022 Intel Corporation
>   */
> diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h
> index d55dd1521df3..1536130e56f6 100644
> --- a/drivers/gpu/drm/xe/xe_trace.h
> +++ b/drivers/gpu/drm/xe/xe_trace.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Copyright © 2022 Intel Corporation
>   */
> -- 
> 2.41.0
> 


More information about the Intel-xe mailing list