All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Syed Nayyar Waris <syednwaris@gmail.com>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	William Breathitt Gray <vilhelm.gray@gmail.com>,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Arnd Bergmann <arnd@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH v2 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value
Date: Mon, 15 Feb 2021 15:46:41 +0200	[thread overview]
Message-ID: <YCp7QYTe4nVxS3AK@smile.fi.intel.com> (raw)
In-Reply-To: <CACG_h5q5emgfbf4L-Czfh1GRiTUrx7a+LXCfsxUmQ8YSs1aoKw@mail.gmail.com>

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@intel.com> wrote:
> >
> > Hi Syed,
> >
> > I love your patch! Yet something to improve:
> >
> > [auto build test ERROR on e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62]
> >
> > url:    https://github.com/0day-ci/linux/commits/Syed-Nayyar-Waris/Introduce-the-for_each_set_clump-macro/20210212-213005
> > base:   e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
> > config: i386-randconfig-d002-20200329 (attached as .config)
> > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
> > reproduce (this is a W=1 build):
> >         # https://github.com/0day-ci/linux/commit/d83196ca7a23f614773c049b69ce3896679cec61
> >         git remote add linux-review https://github.com/0day-ci/linux
> >         git fetch --no-tags linux-review Syed-Nayyar-Waris/Introduce-the-for_each_set_clump-macro/20210212-213005
> >         git checkout d83196ca7a23f614773c049b69ce3896679cec61
> >         # save the attached .config to linux build tree
> >         make W=1 ARCH=i386
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>, old ones prefixed by <<):
> >
> > >> 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?


-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2021-02-15 13:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12 13:19 [PATCH v2 0/3] Introduce the for_each_set_clump macro Syed Nayyar Waris
2021-02-12 13:19 ` Syed Nayyar Waris
2021-02-12 13:20 ` [PATCH v2 1/3] gpiolib: " Syed Nayyar Waris
2021-02-12 13:20   ` Syed Nayyar Waris
2021-02-14  6:44   ` William Breathitt Gray
2021-02-14  6:44     ` William Breathitt Gray
2021-02-12 13:21 ` [PATCH v2 2/3] gpio: thunderx: Utilize " Syed Nayyar Waris
2021-02-12 13:21   ` Syed Nayyar Waris
2021-02-14  6:46   ` William Breathitt Gray
2021-02-14  6:46     ` William Breathitt Gray
2021-02-12 13:22 ` [PATCH v2 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value Syed Nayyar Waris
2021-02-12 13:22   ` Syed Nayyar Waris
2021-02-14  4:40   ` kernel test robot
2021-02-15 13:26     ` Syed Nayyar Waris
2021-02-15 13:46       ` Andy Shevchenko [this message]
2021-02-15 13:53         ` Syed Nayyar Waris
2021-02-15 15:51           ` Andy Shevchenko
2021-02-14  6:51   ` William Breathitt Gray
2021-02-14  6:51     ` William Breathitt Gray
2021-03-03 14:43 ` [PATCH v2 0/3] Introduce the for_each_set_clump macro Bartosz Golaszewski
2021-03-03 14:43   ` Bartosz Golaszewski
2021-03-06 13:39   ` Syed Nayyar Waris
2021-03-06 13:39     ` Syed Nayyar Waris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YCp7QYTe4nVxS3AK@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=arnd@kernel.org \
    --cc=bgolaszewski@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=syednwaris@gmail.com \
    --cc=vilhelm.gray@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.