Re: [spi:for-next 1/2] drivers/spi/spi-fsl-spi.c:749: undefined reference to `of_irq_to_resource'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 10, 2019 at 9:10 AM kbuild test robot <lkp@xxxxxxxxx> wrote:
> It's probably a bug fix that unveils the link errors.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
> head:   d661a226ebf2961631a3961f2463f5db1b132430
> commit: 6f2e2fffd91fd9b4364fbefb78ebbe46d05b0bdd [1/2] Merge branch 'spi-5.5' into spi-linus
> config: sparc64-randconfig-a001-20191209 (attached as .config)
> compiler: sparc64-linux-gcc (GCC) 7.5.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 6f2e2fffd91fd9b4364fbefb78ebbe46d05b0bdd
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.5.0 make.cross ARCH=sparc64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
>    drivers/spi/spi-fsl-spi.o: In function `of_fsl_spi_probe':
> >> drivers/spi/spi-fsl-spi.c:749: undefined reference to `of_irq_to_resource'

config OF_IRQ
        def_bool y
        depends on !SPARC && IRQ_DOMAIN

> vim +749 drivers/spi/spi-fsl-spi.c

The driver should depend on OF_IRQ.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux