Skip to contentSkip to conversation

lib/crc64.c: add license information

PATCH In review Coly Li 3 participants 6 messages May 22, 2018

Subsystems (2)
lore
Share & tools
lore

Coly Li

author
#0 lore raw

PATCH v2 1/1 lib/crc64.c: add license information

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning information. Also as Andy Shevchenko suggested, adds a SPDX header into lib/crc64.c file.

Andy Shevchenko <[email protected]>

---
 lib/crc64.c | 2 ++
 1 file changed, 2 insertions(+)
lib/crc64.c +2 -0
index ed0ffac7b26a..30d1bb58dd5c 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group (Any
  * use permitted, subject to terms of PostgreSQL license; see.)
@@ -135,3 +136,4 @@ uint64_t crc64(const void *data, size_t len)
 EXPORT_SYMBOL_GPL(crc64);
 
 MODULE_DESCRIPTION("CRC64 calculations");
+MODULE_LICENSE("GPL");
Signature · 1 line
2.16.3
author
#1 lore raw
Quoted 6 lines · Coly Li

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning information. Also as Andy Shevchenko suggested, adds a SPDX header into lib/crc64.c file.

Cc Andy Shevchenko <[email protected]>

Hi Andy,

Could you please to offer a Reviewed-by or Acked-by ? We have an agreement that every patch should have a peer reviewer, at this moment we are lack of code reviewer but I still want to keep this rule as much as I can.

Thanks in advance.

Coly Li

Quoted 19 lines
---
 lib/crc64.c | 2 ++
 1 file changed, 2 insertions(+)
lib/crc64.c +2 -0
index ed0ffac7b26a..30d1bb58dd5c 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group (Any
  * use permitted, subject to terms of PostgreSQL license; see.)
@@ -135,3 +136,4 @@ uint64_t crc64(const void *data, size_t len)
 EXPORT_SYMBOL_GPL(crc64);
 
 MODULE_DESCRIPTION("CRC64 calculations");
+MODULE_LICENSE("GPL");
#2 lore raw
Quoted 8 lines · Coly Li
Quoted 6 lines · Coly Li

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning
information. Also as Andy Shevchenko suggested, adds a SPDX header into
lib/crc64.c file.

Quoted 5 lines

Could you please to offer a Reviewed-by or Acked-by ? We have an agreement that every patch should have a peer reviewer, at this moment we are lack of code reviewer but I still want to keep this rule as much
as I can.

I would love to, but I'm not a lawyer. I can't do it in _this_ case, sorry.

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
author
#3 lore raw
Quoted 9 lines · Andy Shevchenko
Quoted 7 lines · Coly Li
Quoted 6 lines · Coly Li

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning
information. Also as Andy Shevchenko suggested, adds a SPDX header into
lib/crc64.c file.

Quoted 9 lines
Quoted 5 lines

Could you please to offer a Reviewed-by or Acked-by ? We have an agreement that every patch should have a peer reviewer, at this moment we are lack of code reviewer but I still want to keep this rule as much
as I can.

I would love to, but I'm not a lawyer. I can't do it in _this_ case, sorry.

OK... Then I have to ask someone else to review this patch.

Thanks.

Coly Li

#4 lore raw

Postgresql is under its own license, which is basically the BSD license under a different name.

I don't know if there's precedent for calling that BSD or if you should just say the postgresql license.

Quoted 29 lines · Coly Li
Quoted 9 lines · Andy Shevchenko
Quoted 7 lines · Coly Li
Quoted 6 lines · Coly Li

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning
information. Also as Andy Shevchenko suggested, adds a SPDX header into
lib/crc64.c file.

Quoted 9 lines
Quoted 5 lines

Could you please to offer a Reviewed-by or Acked-by ? We have an agreement that every patch should have a peer reviewer, at this moment we are lack of code reviewer but I still want to keep this rule as much
as I can.

I would love to, but I'm not a lawyer. I can't do it in _this_ case, sorry.

OK... Then I have to ask someone else to review this patch.

Thanks.

Coly Li
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#5 lore raw
Quoted 6 lines · Kent Overstreet

Postgresql is under its own license, which is basically the BSD license under a different name.

I don't know if there's precedent for calling that BSD or if you should just say the postgresql license.

Oh, I just realize the original code is PostgreSQL license. So we cannot export the symbols by EXPORT_SYMBOL_GPL(). Add Linux kernel requires lib/crc64.c has a license statement by MODULE_LICENSE(), and I don't see anywhere else uses MODULE_LICENSE("PostgreSQL").

So I need to ask help from lawyers, and for this moment I will hold related patches for 4.18.

Thanks.

Quoted 30 lines · Coly Li
Quoted 29 lines · Andy Shevchenko
Quoted 9 lines · Coly Li
Quoted 7 lines · Coly Li
Quoted 6 lines

This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning
information. Also as Andy Shevchenko suggested, adds a SPDX header into
lib/crc64.c file.

Quoted 9 lines
Quoted 5 lines

Could you please to offer a Reviewed-by or Acked-by ? We have an agreement that every patch should have a peer reviewer, at this moment we are lack of code reviewer but I still want to keep this rule as much
as I can.

I would love to, but I'm not a lawyer. I can't do it in _this_ case, sorry.

OK... Then I have to ask someone else to review this patch.

Thanks.

Coly Li
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html