lib/crc64.c: add MODULE_LICENSE("GPL")
Subsystems (2)
PATCH 1/1 lib/crc64.c: add MODULE_LICENSE("GPL")
This patch adds MODULE_LICENSE("GPL") to lib/crc64.c to remove a compiling warninng.
--- lib/crc64.c | 1 + 1 file changed, 1 insertion(+)
lib/crc64.c +1 -0
@@ -135,3 +135,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
Quoted 3 lines · Coly Li
This patch adds
MODULE_LICENSE("GPL")tolib/crc64.cto remove a compiling
warninng.
I have no opinion about this. Code has a top description from which it has been taken / derived, so, I dunno if GPL is what it really is.
In any case it's probably worth to add SPDX header as well.
Quoted 16 lines
Signed-off-by Coly Li <[email protected]>Cc Andy Shevchenko <[email protected]>--- lib/crc64.c | 1 + 1 file changed, 1 insertion(+)lib/crc64.c +1
-0@@ -135,3 +135,4 @@ uint64_t crc64(const void *data, size_t len)EXPORT_SYMBOL_GPL (crc64);MODULE_DESCRIPTION ("CRC64 calculations" ); +MODULE_LICENSE ("GPL" );
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Quoted 10 lines · Andy Shevchenko
Quoted 3 lines · Coly Li
This patch adds
MODULE_LICENSE("GPL")tolib/crc64.cto remove a compiling
warninng.I have no opinion about this. Code has a top description from which it has been taken / derived, so, I dunno if GPL is what it really is.
In any case it's probably worth to add SPDX header as well.
Hmm, there is a warning complains no MODULE_LICENSE() in lib/crc64.c, when I compile a kernel for testing. The purpose is just to kill a compiler warning.
And sure, I will post an update version with SPDX header.
Thanks for the hint :-)
Coly Li
Quoted 17 lines
Quoted 16 lines
Signed-off-by Coly Li <[email protected]>Cc Andy Shevchenko <[email protected]>--- lib/crc64.c | 1 + 1 file changed, 1 insertion(+)lib/crc64.c +1
-0@@ -135,3 +135,4 @@ uint64_t crc64(const void *data, size_t len)EXPORT_SYMBOL_GPL (crc64);MODULE_DESCRIPTION ("CRC64 calculations" ); +MODULE_LICENSE ("GPL" );