[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160118171601.4a53e112@endymion.delvare>
Date: Mon, 18 Jan 2016 17:16:01 +0100
From: Jean Delvare <jdelvare@...e.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] libcrc32c: Fix build warning
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@...e.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
Powered by blists - more mailing lists