Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1225251pxb; Fri, 13 Nov 2020 07:20:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwK60XmlMThp5P347SjZUmeHyv4sSgmP6dOsd7nRcThFBwADRrqdDOlPOzr5K79vlvxVuPo X-Received: by 2002:a17:906:3547:: with SMTP id s7mr2314214eja.70.1605280829399; Fri, 13 Nov 2020 07:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605280829; cv=none; d=google.com; s=arc-20160816; b=shcAG9XJxf4axowUPK2aKyCOlMrbCWT7yGOEnlGuSVsT81vMalQch6piG+RoA30Orx m5J+IkZYh8JYibQ9OdkDojQWvvEji72bZhE9CfQME3Ht+pHnB3aSLxCTr/9E9wSSdkMH QtPdWWtGovyZB98zUNVUq4CFz445GpjgAzb/PyABUZjxNSrYR9qH+CaET1FVzJFeF13t hYrm9vdcyd/sAIYkG468F89cSQZz3vQejA8I3eh0i0qEOYrOBfeZUDwT2u7ctW6omO05 17W0ZFGTqZf6prQYcJrwutrKVddzitgCnuP64dHvYMohH5iGvz/YIBuquEnW9HQkHP12 YU+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dEz/mWgfsjb50E6KuqiHHe4wptEHxMhHaGcYcD6c3Xs=; b=IPNqRlf0FDaX9ENEMw6tO9ezIUKKsZ7R7A7TGCbeBaIeGNNEEZV00pyZDQfZOtOehi HuEv8D6jYRm6S5+XmDKRMb0w+0d0nyzvA6e+gtF+RjF6GmhIhBGBsELrIXTzBpYrZP28 a5boBRAIMRQNg00auuvP6O6AdmJtBnHkFPBRQJ3GpGM+Fff6xPrgWK1cytYJg5jL5AZj qdwFiIh2Hq8QDP9Vr1PW5aebqGniX+Rma5aDciSqT8gQw4psi09jTW44KjochQysN8WF kXKOoWKL969NZBFKTEONtOBxeOVfsGncXXhv+JNeMkPV1ZDo5cKiM1p4TKrSgdB5IJuN As5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MyI6+xJD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si6249514edb.336.2020.11.13.07.19.59; Fri, 13 Nov 2020 07:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MyI6+xJD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726569AbgKMPRm (ORCPT + 99 others); Fri, 13 Nov 2020 10:17:42 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:42398 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726432AbgKMPRl (ORCPT ); Fri, 13 Nov 2020 10:17:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605280660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dEz/mWgfsjb50E6KuqiHHe4wptEHxMhHaGcYcD6c3Xs=; b=MyI6+xJDonr4Up1qE/NY/dwT+L/LX/NA8SAKPZqpnl7x3u61E2uzc1wKPBBugVe0nnAsqu vjmFf2t6syjK0VRURE4B/DRb0uzfNaOQCHHtrZVt9p1+jCID7kpbOqJNMEzk4mx3l4tEZy 5CnR4S5xm9NUoOmViidZnJNAwhYaw9c= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-Ar2rUvxxNEuwtG7_YZ8rtg-1; Fri, 13 Nov 2020 10:17:38 -0500 X-MC-Unique: Ar2rUvxxNEuwtG7_YZ8rtg-1 Received: by mail-wm1-f72.google.com with SMTP id o19so4121043wme.2 for ; Fri, 13 Nov 2020 07:17:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dEz/mWgfsjb50E6KuqiHHe4wptEHxMhHaGcYcD6c3Xs=; b=Z49fbvy0bv8HBz4EhtGMv59jdUG/npx16e5Ibf2ABnbfDEvIpt7gXSD5RfSULo1GEe r2Z9NTXvlNU3t8Yh7+KQwLdL7cZWHM6P9AaSL60G5du3GHvehjT17+XvKAC3R/qcy0Gl YTjqeyEbH4amdl0nmYWfByvJm6lq39hv6mGfuqNP672qrx7jO9KPo2W2EMzpJ2u1Cnl1 sDH8VlM7sHdIai2ELxP9dSq7LLIAAazxjnzVOVbvE3ceqlZCOLZa2lQ+RZehS2BzoXKD bxk+3TPGEu0jAC7faBnstFh+/j2QmWCg4JBUT67Jmi8HJff2k6l7ldd9SXX/gYPPVgEh hOsA== X-Gm-Message-State: AOAM531RQoaM7UcY1BRSiH55Ns3AKTuWqoup9j0OxzuLfkw8cZu1n8QI IEPvTEObNk8QJ2AmXIdFwv8a539v3Vvoz+8oP6rIImnW8s0A/a6i/c4vKYhA/OIXUF4B7eHGU4c NWBN5fIOiLa1JC7M5g6T3AaZP X-Received: by 2002:adf:d0c8:: with SMTP id z8mr4169119wrh.288.1605280654107; Fri, 13 Nov 2020 07:17:34 -0800 (PST) X-Received: by 2002:adf:d0c8:: with SMTP id z8mr4169080wrh.288.1605280653656; Fri, 13 Nov 2020 07:17:33 -0800 (PST) Received: from redhat.com (bzq-79-176-118-93.red.bezeqint.net. [79.176.118.93]) by smtp.gmail.com with ESMTPSA id t9sm11412843wrr.49.2020.11.13.07.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 07:17:33 -0800 (PST) Date: Fri, 13 Nov 2020 10:17:30 -0500 From: "Michael S. Tsirkin" To: Laurent Vivier Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: ERROR: modpost: "mac_pton" undefined! Message-ID: <20201113101712-mutt-send-email-mst@kernel.org> References: <202011131937.7Fy1Jnv1-lkp@intel.com> <71f5ec23-a1a7-8981-b924-412f4bbed9f6@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <71f5ec23-a1a7-8981-b924-412f4bbed9f6@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > > 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