From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5457EC55ABD for ; Fri, 13 Nov 2020 19:31:27 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF3252065E for ; Fri, 13 Nov 2020 19:31:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="h8iwUL9y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF3252065E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=virtualization-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3086D8769B; Fri, 13 Nov 2020 19:31:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XlNP1XJJASio; Fri, 13 Nov 2020 19:31:24 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id B7AD387662; Fri, 13 Nov 2020 19:31:24 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A7AD2C088E; Fri, 13 Nov 2020 19:31:24 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id E249DC0800 for ; Fri, 13 Nov 2020 19:31:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DDB5B875E2 for ; Fri, 13 Nov 2020 19:31:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1zbKmwED3i5m for ; Fri, 13 Nov 2020 19:31:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 50A18875DF for ; Fri, 13 Nov 2020 19:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=V15TCrSdvvl0eHQ2B5KeRVDPQVrQ+kR6/+KoOQhbZ/o=; b=h8iwUL9yiUS6zCfmZDBAT9LyMs 7dhIDTRIGMkIjouCJ+HYUriz/t25CM3meKDmRWwcJMvrKE69YlN8qM36XUXpri1HDV4t1GxoMdjUt RnEPvQG5btbMaf2MBVBJRjgjYHE+/E/ZLPKIdi1w9u25rFSI6mFtyj6XbZ/NC3IpU3dY51TGo263y 5ubwVc/SxN8kL5wErA4n1WLV/Vd8liqKZRjjgbvgx0rXzA2ulH3zMDKkbzNS06/TeCX6kXUxoqpro QhNnyDQX5kP928cPGXmBKC8p3+LWXncW64oXFvsEzSDJu24Y8fmukRV493xeD1HgWf6p2GZNmH97/ cKgmby0g==; Received: from [2601:1c0:6280:3f0::662d] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdemv-0006eS-BS; Fri, 13 Nov 2020 19:31:14 +0000 Subject: Re: [PATCH] vdpasim: fix "mac_pton" undefined error From: Randy Dunlap To: Laurent Vivier , linux-kernel@vger.kernel.org References: <20201113155706.599434-1-lvivier@redhat.com> Message-ID: <1578a773-edef-4bbf-676f-cf8d52dc0a4e@infradead.org> Date: Fri, 13 Nov 2020 11:31:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Cc: virtualization@lists.linux-foundation.org, kernel test robot , "Michael S. Tsirkin" X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On 11/13/20 10:49 AM, Randy Dunlap wrote: > On 11/13/20 7:57 AM, Laurent Vivier wrote: >> ERROR: modpost: "mac_pton" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! >> >> mac_pton() is defined in lib/net_utils.c and is not built if NET is not set. >> >> Select GENERIC_NET_UTILS as vdpasim doesn't depend on NET. >> >> Reported-by: kernel test robot > > On Nov. 2, 2020: > > Reported-by: Randy Dunlap > > https://lore.kernel.org/lkml/d3d50a94-cdc5-572b-e9ca-3ee5638d21ee@infradead.org/ > > >> Signed-off-by: Laurent Vivier >> --- >> drivers/vdpa/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig >> index d7d32b656102..358f6048dd3c 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 GENERIC_NET_UTILS >> default n >> help >> vDPA networking device simulator which loop TX traffic back >> > > Thanks for the patch. Acked-by: Randy Dunlap # build-tested -- ~Randy _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization