All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] siphash: add SPDX tags as sole licensing authority
@ 2022-05-18 13:23 Jason A. Donenfeld
  2022-05-20 17:12 ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2022-05-18 13:23 UTC (permalink / raw)
  To: linux-kernel, linux-spdx; +Cc: Jason A. Donenfeld, Thomas Gleixner

The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this
over to SPDX is overdue. This commit adds SPDX tags to the relevant
files and clarifies that it's GPLv2 only and 3-clause BSD. It also
removes the old text, so that the SPDX tags are the only source of the
information.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 include/linux/siphash.h | 5 ++---
 lib/siphash.c           | 5 ++---
 lib/test_siphash.c      | 7 +++----
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/include/linux/siphash.h b/include/linux/siphash.h
index 3af1428da559..9153e77382e1 100644
--- a/include/linux/siphash.h
+++ b/include/linux/siphash.h
@@ -1,6 +1,5 @@
-/* Copyright (C) 2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
diff --git a/lib/siphash.c b/lib/siphash.c
index 71d315a6ad62..15bc5b6f368c 100644
--- a/lib/siphash.c
+++ b/lib/siphash.c
@@ -1,6 +1,5 @@
-/* Copyright (C) 2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
diff --git a/lib/test_siphash.c b/lib/test_siphash.c
index a6d854d933bf..a96788d0141d 100644
--- a/lib/test_siphash.c
+++ b/lib/test_siphash.c
@@ -1,8 +1,7 @@
-/* Test cases for siphash.c
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
  *
- * Copyright (C) 2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+ * Test cases for siphash.c
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] siphash: add SPDX tags as sole licensing authority
  2022-05-18 13:23 [PATCH] siphash: add SPDX tags as sole licensing authority Jason A. Donenfeld
@ 2022-05-20 17:12 ` Thomas Gleixner
  2022-05-20 17:53   ` Kate Stewart
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2022-05-20 17:12 UTC (permalink / raw)
  To: Jason A. Donenfeld, linux-kernel, linux-spdx; +Cc: Jason A. Donenfeld

On Wed, May 18 2022 at 15:23, Jason A. Donenfeld wrote:
> The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this
> over to SPDX is overdue. This commit adds SPDX tags to the relevant
> files and clarifies that it's GPLv2 only and 3-clause BSD. It also
> removes the old text, so that the SPDX tags are the only source of the
> information.
>
> Suggested-by: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] siphash: add SPDX tags as sole licensing authority
  2022-05-20 17:12 ` Thomas Gleixner
@ 2022-05-20 17:53   ` Kate Stewart
  2022-05-20 19:21     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Kate Stewart @ 2022-05-20 17:53 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Jason A. Donenfeld, LKML, linux-spdx

Thanks for this bit of cleanup Jason!   Much appreciated.

On Fri, May 20, 2022 at 12:12 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Wed, May 18 2022 at 15:23, Jason A. Donenfeld wrote:
> > The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this
> > over to SPDX is overdue. This commit adds SPDX tags to the relevant
> > files and clarifies that it's GPLv2 only and 3-clause BSD. It also
> > removes the old text, so that the SPDX tags are the only source of the
> > information.
> >
> > Suggested-by: Thomas Gleixner <tglx@linutronix.de>
> > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
>
> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] siphash: add SPDX tags as sole licensing authority
  2022-05-20 17:53   ` Kate Stewart
@ 2022-05-20 19:21     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2022-05-20 19:21 UTC (permalink / raw)
  To: Kate Stewart; +Cc: Thomas Gleixner, Jason A. Donenfeld, LKML, linux-spdx

On Fri, May 20, 2022 at 12:53:50PM -0500, Kate Stewart wrote:
> Thanks for this bit of cleanup Jason!   Much appreciated.
> 
> On Fri, May 20, 2022 at 12:12 PM Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > On Wed, May 18 2022 at 15:23, Jason A. Donenfeld wrote:
> > > The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this
> > > over to SPDX is overdue. This commit adds SPDX tags to the relevant
> > > files and clarifies that it's GPLv2 only and 3-clause BSD. It also
> > > removes the old text, so that the SPDX tags are the only source of the
> > > information.
> > >
> > > Suggested-by: Thomas Gleixner <tglx@linutronix.de>
> > > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> >
> > Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
> 
> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

Thanks all, I queued this up before the additional review comments, next
time I'll be slower :)

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-20 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 13:23 [PATCH] siphash: add SPDX tags as sole licensing authority Jason A. Donenfeld
2022-05-20 17:12 ` Thomas Gleixner
2022-05-20 17:53   ` Kate Stewart
2022-05-20 19:21     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.