* [PATCH] libcrc32c: Fix build warning
@ 2016-01-18 16:16 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2016-01-18 16:16 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton
Fix the following build warning:
lib/libcrc32c.c:42:5: warning: no previous prototype for "crc32c" [-Wmissing-prototypes]
u32 crc32c(u32 crc, const void *address, unsigned int length)
^
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
lib/libcrc32c.c | 1 +
1 file changed, 1 insertion(+)
--- linux-4.5-rc0.orig/lib/libcrc32c.c 2016-01-18 16:47:47.978681236 +0100
+++ linux-4.5-rc0/lib/libcrc32c.c 2016-01-18 17:07:08.985586064 +0100
@@ -36,6 +36,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/crc32c.h>
static struct crypto_shash *tfm;
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-18 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 16:16 [PATCH] libcrc32c: Fix build warning Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox