The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] libcrc32c: Fix build warning
Date: Mon, 18 Jan 2016 17:16:01 +0100	[thread overview]
Message-ID: <20160118171601.4a53e112@endymion.delvare> (raw)

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

                 reply	other threads:[~2016-01-18 16:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160118171601.4a53e112@endymion.delvare \
    --to=jdelvare@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox