Re: linux-next: build failure after merge of the origin tree

From: Jens Axboe
Date: Thu Jan 19 2012 - 03:22:33 EST


On 01/19/2012 12:31 AM, Stephen Rothwell wrote:
> Hi Linus,
>
> After merging the origin tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "xen_biovec_phys_mergeable" [drivers/block/nvme.ko] undefined!
>
> This is weird, as CONFIG_BLOCK and CONFIG_XEN are both set in this build
> and I started with an empty object directory. And biomerge.o has been
> built.
>
> Ah ha!
>
> drivers/xen/biomerge.c:14:1: warning: data definition has no type or storage class [enabled by default]
> drivers/xen/biomerge.c:14:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
> drivers/xen/biomerge.c:14:1: warning: parameter names (without types) in function declaration [enabled by default]
>
> drivers/xen/biomerge.c does not include export.h. It would be nice if
> this produced an error, not just the warnings above. Caused by commit
> 0b934ccd707f ("Xen: Export xen_biovec_phys_mergeable") (which was never
> in linux-next :-().
>
> I applied the following patch for today:

Thanks Stephen, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/