Re: [gpio:for-next 40/43] platform.c:undefined reference to `devm_ioremap_resource'

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

 



On Thu, Feb 21, 2019 at 5:20 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> czw., 21 lut 2019 o 15:19 Linus Walleij <linus.walleij@xxxxxxxxxx> napisał(a):
> > On Thu, Feb 21, 2019 at 1:48 PM kbuild test robot <lkp@xxxxxxxxx> wrote:
> >
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
> > > head:   21b4ab8f9e7100286c380a13e0e46ca6bf35e692
> > > commit: 7945f929f1a77a1c8887a97ca07f87626858ff42 [40/43] drivers: provide devm_platform_ioremap_resource()
> > > config: um-x86_64_defconfig (attached as .config)
> > > compiler: gcc-8 (Debian 8.2.0-20) 8.2.0
> > > reproduce:
> > >         git checkout 7945f929f1a77a1c8887a97ca07f87626858ff42
> > >         # save the attached .config to linux build tree
> > >         make ARCH=um SUBARCH=x86_64
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > >    /usr/bin/ld: drivers/base/platform.o: in function `devm_platform_ioremap_resource':
> > > >> platform.c:(.text+0xa8): undefined reference to `devm_ioremap_resource'
> > >    collect2: error: ld returned 1 exit status
> >
> > 99 times out of 100 UM linux bugs are  because something needs to depend on
> > HAS_IOMEM or be inside #ifdef CONFIG_HAS_IOMEM. UM doesn't have
> > IOMEM.
> >
> > Bartosz do you see immediately where the problem is or do you
> > need help looking into it?
> >
>
> No need for help - it's HAS_IOMEM on which devres.c in lib depends. Do
> you want a follow-up patch or should I resend the original ones with a
> fix?

Just send a fixup patch, it's easiest.

Thanks!
Linus Walleij




[Index of Archives]     [Linux SPI]     [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