linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: sha256 - Add missing MODULE_LICENSE() to lib/crypto/sha256.c
@ 2019-08-25 18:18 Hans de Goede
  2019-08-30  8:25 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2019-08-25 18:18 UTC (permalink / raw)
  To: Herbert Xu, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	H . Peter Anvin, Heiko Carstens, Vasily Gorbik,
	Christian Borntraeger
  Cc: Hans de Goede, Marc Zyngier, Eric Biggers, Andy Lutomirski,
	Ard Biesheuvel, linux-crypto, x86, linux-s390, linux-efi,
	linux-kernel

lib/crypto/sha256.c / lib/crypto/libsha256.o may end up being a module,
so it needs a MODULE_LICENSE() line, add this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 lib/crypto/sha256.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c
index 45ad87520769..42d75e490a97 100644
--- a/lib/crypto/sha256.c
+++ b/lib/crypto/sha256.c
@@ -13,6 +13,7 @@
 
 #include <linux/bitops.h>
 #include <linux/export.h>
+#include <linux/module.h>
 #include <linux/string.h>
 #include <crypto/sha256.h>
 #include <asm/unaligned.h>
@@ -314,3 +315,5 @@ int sha224_final(struct sha256_state *sctx, u8 *out)
 	return __sha256_final(sctx, out, 7);
 }
 EXPORT_SYMBOL(sha224_final);
+
+MODULE_LICENSE("GPL");
-- 
2.23.0


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

end of thread, other threads:[~2019-08-30  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-25 18:18 [PATCH] crypto: sha256 - Add missing MODULE_LICENSE() to lib/crypto/sha256.c Hans de Goede
2019-08-30  8:25 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).