All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Tsirkin <mst@redhat.com>
To: kbuild-all@lists.01.org
Subject: Re: ERROR: modpost: "mac_pton" undefined!
Date: Fri, 13 Nov 2020 10:17:30 -0500	[thread overview]
Message-ID: <20201113101712-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <71f5ec23-a1a7-8981-b924-412f4bbed9f6@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]

On Fri, Nov 13, 2020 at 01:38:40PM +0100, Laurent Vivier wrote:
> On 13/11/2020 12:58, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba
> > commit: 0c86d774883fa17e7c81b0c8838b88d06c2c911e vdpasim: allow to assign a MAC address
> > date:   2 weeks ago
> > config: openrisc-randconfig-r035-20201113 (attached as .config)
> > compiler: or1k-linux-gcc (GCC) 9.3.0
> > reproduce (this is a W=1 build):
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0c86d774883fa17e7c81b0c8838b88d06c2c911e
> >         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >         git fetch --no-tags linus master
> >         git checkout 0c86d774883fa17e7c81b0c8838b88d06c2c911e
> >         # save the attached .config to linux build tree
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 
> > 
> > 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: "mac_pton" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined!
> >
> 
> I think something like this might fix the problem.
> 
> 
> diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
> index d7d32b656102..d2de1cefd5cb 100644
> --- a/drivers/vdpa/Kconfig
> +++ b/drivers/vdpa/Kconfig
> @@ -13,6 +13,7 @@ config VDPA_SIM
>         depends on RUNTIME_TESTING_MENU && HAS_DMA
>         select DMA_OPS
>         select VHOST_RING
> +       select NET
>         default n
>         help
>           vDPA networking device simulator which loop TX traffic back


NET isn't usually selected, maybe depends on NET

> I'm going to test with .config and post a patch.
> 
> thanks,
> Laurent

WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>
Cc: kernel test robot <lkp@intel.com>,
	kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: ERROR: modpost: "mac_pton" undefined!
Date: Fri, 13 Nov 2020 10:17:30 -0500	[thread overview]
Message-ID: <20201113101712-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <71f5ec23-a1a7-8981-b924-412f4bbed9f6@redhat.com>

On Fri, Nov 13, 2020 at 01:38:40PM +0100, Laurent Vivier wrote:
> On 13/11/2020 12:58, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba
> > commit: 0c86d774883fa17e7c81b0c8838b88d06c2c911e vdpasim: allow to assign a MAC address
> > date:   2 weeks ago
> > config: openrisc-randconfig-r035-20201113 (attached as .config)
> > compiler: or1k-linux-gcc (GCC) 9.3.0
> > reproduce (this is a W=1 build):
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0c86d774883fa17e7c81b0c8838b88d06c2c911e
> >         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >         git fetch --no-tags linus master
> >         git checkout 0c86d774883fa17e7c81b0c8838b88d06c2c911e
> >         # save the attached .config to linux build tree
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 
> > 
> > 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: "mac_pton" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined!
> >
> 
> I think something like this might fix the problem.
> 
> 
> diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
> index d7d32b656102..d2de1cefd5cb 100644
> --- a/drivers/vdpa/Kconfig
> +++ b/drivers/vdpa/Kconfig
> @@ -13,6 +13,7 @@ config VDPA_SIM
>         depends on RUNTIME_TESTING_MENU && HAS_DMA
>         select DMA_OPS
>         select VHOST_RING
> +       select NET
>         default n
>         help
>           vDPA networking device simulator which loop TX traffic back


NET isn't usually selected, maybe depends on NET

> I'm going to test with .config and post a patch.
> 
> thanks,
> Laurent


  parent reply	other threads:[~2020-11-13 15:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 11:58 ERROR: modpost: "mac_pton" undefined! kernel test robot
2020-11-13 11:58 ` kernel test robot
2020-11-13 12:38 ` Laurent Vivier
2020-11-13 12:38   ` Laurent Vivier
2020-11-13 13:12   ` Andy Shevchenko
2020-11-13 13:12     ` Andy Shevchenko
2020-11-13 13:19     ` Laurent Vivier
2020-11-13 13:19       ` Laurent Vivier
2020-11-13 14:32       ` Andy Shevchenko
2020-11-13 14:32         ` Andy Shevchenko
2020-11-13 15:19       ` Michael S. Tsirkin
2020-11-13 15:19         ` Michael S. Tsirkin
2020-11-13 15:17   ` Michael S. Tsirkin [this message]
2020-11-13 15:17     ` Michael S. Tsirkin

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=20201113101712-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=kbuild-all@lists.01.org \
    /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.