diff mbox series

drm/tracing: change SPDX identifier to MIT

Message ID 20181021085732.79986-1-jsg@jsg.id.au (mailing list archive)
State New, archived
Headers show
Series drm/tracing: change SPDX identifier to MIT | expand

Commit Message

Jonathan Gray Oct. 21, 2018, 8:57 a.m. UTC
Commit b24413180f5600bcb3bb70fbed5cf186b60864bd added
"SPDX-License-Identifier: GPL-2.0" to files which previously had no
license, change this to MIT for the tracing header matching the license
text of most of the other core drm files.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
---
 drivers/gpu/drm/drm_trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chris Wilson Oct. 22, 2018, 10:46 a.m. UTC | #1
Quoting Jonathan Gray (2018-10-21 09:57:32)
> Commit b24413180f5600bcb3bb70fbed5cf186b60864bd added
> "SPDX-License-Identifier: GPL-2.0" to files which previously had no
> license, change this to MIT for the tracing header matching the license
> text of most of the other core drm files.

I'm not sure... If pulling in the large block of GPL'ed tracepoint
code/macros implies this is a derived work then this must remain GPL.
-Chris
Jonathan Gray Oct. 22, 2018, 1:26 p.m. UTC | #2
On Mon, Oct 22, 2018 at 11:46:08AM +0100, Chris Wilson wrote:
> Quoting Jonathan Gray (2018-10-21 09:57:32)
> > Commit b24413180f5600bcb3bb70fbed5cf186b60864bd added
> > "SPDX-License-Identifier: GPL-2.0" to files which previously had no
> > license, change this to MIT for the tracing header matching the license
> > text of most of the other core drm files.
> 
> I'm not sure... If pulling in the large block of GPL'ed tracepoint
> code/macros implies this is a derived work then this must remain GPL.
> -Chris

Well my case is using the header without those macros in OpenBSD, instead
defining away TRACE_EVENT etc.  I can create another file that does the
same thing for this if it comes to that.
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_trace.h b/drivers/gpu/drm/drm_trace.h
index baccc63db106..3c029cfdc158 100644
--- a/drivers/gpu/drm/drm_trace.h
+++ b/drivers/gpu/drm/drm_trace.h
@@ -1,4 +1,4 @@ 
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #if !defined(_DRM_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
 #define _DRM_TRACE_H_