2013-08-27 06:15:22

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the spi tree

Hi Mark,

After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from drivers/spi/spi-ti-qspi.c:19:0:
include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to undefined symbol 'dra7xxx_qspi_match'
extern const struct gtype##_id __mod_##gtype##_table \
^
include/linux/module.h:145:3: note: in expansion of macro 'MODULE_GENERIC_TABLE'
MODULE_GENERIC_TABLE(type##_device,name)
^
drivers/spi/spi-ti-qspi.c:458:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(of, dra7xxx_qspi_match);
^

Caused by commit 505a14954e2d ("spi/qspi: Add qspi flash controller").

Clearly not build tested as a module. :-(

I have used the spi tree from next-20130822 for today.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (861.00 B)
(No filename) (836.00 B)
Download all attachments

2013-08-27 07:20:22

by Sourav Poddar

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the spi tree

Hi,
On Tuesday 27 August 2013 11:45 AM, Stephen Rothwell wrote:
> Hi Mark,
>
> After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> In file included from drivers/spi/spi-ti-qspi.c:19:0:
> include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to undefined symbol 'dra7xxx_qspi_match'
> extern const struct gtype##_id __mod_##gtype##_table \
> ^
> include/linux/module.h:145:3: note: in expansion of macro 'MODULE_GENERIC_TABLE'
> MODULE_GENERIC_TABLE(type##_device,name)
> ^
> drivers/spi/spi-ti-qspi.c:458:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
> MODULE_DEVICE_TABLE(of, dra7xxx_qspi_match);
> ^
>
> Caused by commit 505a14954e2d ("spi/qspi: Add qspi flash controller").
>
> Clearly not build tested as a module. :-(
Yes, module build test was missed. I will send a patch for this
to Mark.
> I have used the spi tree from next-20130822 for today.