Thread (10 messages) 10 messages, 4 authors, 2011-11-07

Re: [dm-devel] Error when compiling drivers/md/dm-bufio.c

From: Alasdair G Kergon <agk@redhat.com>
Date: 2011-11-07 13:46:01
Also in: dm-devel

On Mon, Nov 07, 2011 at 09:22:31AM +0100, Witold Baryluk wrote:
I just got error on todays Linus' tree
  CC [M]  drivers/md/dm-bufio.o
drivers/md/dm-bufio.c:988:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’ [-Wimplicit-int]
Probably related to this merge:
  commit 32aaeffbd4a7457bf2f7448b33b5946ff2a960eb
  Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/ker

Previously module.h was included via another header file.
Now, bufio.c needs an explicit

#include <linux/module.h>

Alasdair

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help