Re: [PATCH v2 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

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

 



On Mon, Feb 15, 2021 at 07:23:10PM +0530, Syed Nayyar Waris wrote:
> On Mon, Feb 15, 2021 at 7:16 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > On Mon, Feb 15, 2021 at 06:56:10PM +0530, Syed Nayyar Waris wrote:
> > > On Sun, Feb 14, 2021 at 10:11 AM kernel test robot <lkp@xxxxxxxxx> wrote:

> > > > >> ERROR: modpost: "bitmap_get_value" [drivers/gpio/gpio-xilinx.ko] undefined!
> > > > >> ERROR: modpost: "bitmap_set_value" [drivers/gpio/gpio-xilinx.ko] undefined!
> > > >
> > >
> > > Dear All,
> > >
> > > I was able to reproduce the above 2 build errors with the config file
> > > provided and the build command mentioned in the above mail. But I need
> > > help to fix the build errors.
> > >
> > > Scenario:
> > > Function 'bitmap_get_value()' is declared in 'gpiolib.h'. It is
> > > defined in 'gpiolib.c'. Function 'bitmap_get_value()'  is then being
> > > used in gpio-xilinx.c and the build error is thrown. Similar situation
> > > holds for the other function 'bitmap_set_value'.
> > >
> > > How do I resolve the above build error?. Kindly illuminate. The full
> > > patchset can be found at:
> > > https://lore.kernel.org/patchwork/cover/1380056/
> >
> > Missed EXPORT_SYMBOL_GPL() or so?
> 
> It has EXPORT_SYMBOL_GPL(). But the build errors still persist.

Okay, I don't see an email with configuration file, so you need to dig it up to
understand what combination of options brought this.

-- 
With Best Regards,
Andy Shevchenko





[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