Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/md/persistent-data/dm-space-map-checker.c:386:1: warning: data definition has no type or storage class [enabled by default] drivers/md/persistent-data/dm-space-map-checker.c:386:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int] drivers/md/persistent-data/dm-space-map-checker.c:386:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/md/persistent-data/dm-space-map-checker.c:417:1: warning: data definition has no type or storage class [enabled by default] drivers/md/persistent-data/dm-space-map-checker.c:417:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int] drivers/md/persistent-data/dm-space-map-checker.c:417:1: warning: parameter names (without types) in function declaration [enabled by default] Caused by commit 661ae8a9604f ("The persistent-data library offers a re-usable framework for the storage") interacting with the module.h split up. I added this patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Tue, 1 Nov 2011 20:27:43 +1100 Subject: [PATCH] device-mapper: using EXPORT_SYBOL in dm-space-map-checker.c needs export.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/md/persistent-data/dm-space-map-checker.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/md/persistent-data/dm-space-map-checker.c b/drivers/md/persistent-data/dm-space-map-checker.c index bb44a93..50ed53b 100644 --- a/drivers/md/persistent-data/dm-space-map-checker.c +++ b/drivers/md/persistent-data/dm-space-map-checker.c @@ -7,6 +7,7 @@ #include "dm-space-map-checker.h" #include <linux/device-mapper.h> +#include <linux/export.h> #ifdef CONFIG_DM_DEBUG_SPACE_MAPS -- 1.7.7 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpMOyXaS_lut.pgp
Description: PGP signature