Re: [PATCHv2 0/7] mtd: Dynamic allocation of device numbers

Ben Hutchings
2010-01-28T16:20:50Z

On Thu, 2010-01-28 at 18:12 +0200, Artem Bityutskiy wrote:
[...]
> When I apply your patches and compile, I get:
>
> make[2]: `scripts/unifdef' is up to date.
> Building modules, stage 2.
> Kernel: arch/x86/boot/bzImage is ready (#4)
> MODPOST 150 modules
> ERROR: "idr_get_next" [drivers/mtd/mtd.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> Indeed, it is not exported.

This looks like an oversight from when idr_get_next() was introduced.
Is there any reason not to export it? If not, I'll add that to the
patch series.

Ben.

--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.