openwrt/target/linux/bcm27xx/patches-6.1/950-0476-drm-tests-helpers-Add-SPDX-header.patch

38 lines
1.2 KiB
Diff
Raw Normal View History

From b15a8411b58861833fa961620417ae51ad052397 Mon Sep 17 00:00:00 2001
From: Maxime Ripard <maxime@cerno.tech>
Date: Wed, 16 Nov 2022 16:18:33 +0100
Subject: [PATCH] drm/tests: helpers: Add SPDX header
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The SPDX header is missing, let's add it and fix the corresponding
checkpatch warning.
Suggested-by: Maíra Canal <mairacanal@riseup.net>
Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers")
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Link: https://lore.kernel.org/r/20221116151833.1679379-2-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 ++
drivers/gpu/drm/tests/drm_kunit_helpers.h | 2 ++
2 files changed, 4 insertions(+)
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
+++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
#include <drm/drm_drv.h>
#include <drm/drm_managed.h>
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.h
+++ b/drivers/gpu/drm/tests/drm_kunit_helpers.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
#ifndef DRM_KUNIT_HELPERS_H_
#define DRM_KUNIT_HELPERS_H_