Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Update SPDX deprecated license identifier

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@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231107082440.7568-1-thomas.hellstrom@linux.intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Thomas Hellström and committed by
Rodrigo Vivi
670e811d e4e4268d

+5 -5
+1 -1
drivers/gpu/drm/xe/xe_pt_walk.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 3 * Copyright © 2022 Intel Corporation 4 4 */
+1 -1
drivers/gpu/drm/xe/xe_pt_walk.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 3 * Copyright © 2022 Intel Corporation 4 4 */
+1 -1
drivers/gpu/drm/xe/xe_res_cursor.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 + /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 2 2 /* 3 3 * Copyright 2020 Advanced Micro Devices, Inc. 4 4 *
+1 -1
drivers/gpu/drm/xe/xe_trace.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 3 * Copyright © 2022 Intel Corporation 4 4 */
+1 -1
drivers/gpu/drm/xe/xe_trace.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 3 * Copyright © 2022 Intel Corporation 4 4 */