lkml.org 
[lkml]   [2016]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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

\
 
 \ /
  Last update: 2016-01-18 17:21    [W:0.023 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site