Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1251177pxb; Fri, 13 Nov 2020 07:59:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJycoZI30hOiKF6WqjAZAUsXJ7D9e17YzeoEKxyLIR74bvusHZHo/MzYBmLv0QLmA3luAgGA X-Received: by 2002:a05:6402:17b4:: with SMTP id j20mr3242784edy.24.1605283172585; Fri, 13 Nov 2020 07:59:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605283172; cv=none; d=google.com; s=arc-20160816; b=ydamBscJ1Uo8KA3RsP2shjEYKw8+cSzjg9L+rMBrRROLDIpjHfE8YFy6A50m1PM+Dg bITLCwxXmPhGJNUp7ja8ng8hJyU8xeLTF6BpvYKDHbF/N+qgL9uZqIKgCIiroIf9U5hX fYKM2E+WAl6Gh9gjD56NAOzAyHxzufLFN+YQLqcvR4u/7rJial4uNoxjZnDd5P7bX6yM pQiQ1dUbFCjxdWZAPns6i9oqSoB+d+vzlK75OXCyHBakcmVB/tSxpn09bv8AwqqpJEza sMHKNeGVkFUwfDBX19cYj2l1amizH0NCmNvC6MbMG3q2lX6E4sGCsFfJmC/dG29/zHMY NAJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=60wJj95OB0HMoxRPwUZqpPdQUOWeJPZmog9M4skpc20=; b=kwiPgI3GCGCb8O4w6+AvTg1uGE1qv1uZK/F4EEaWd4M702FgiJZZiSb+88ZcbPD+m+ 6/f3gZAz6w0kBfc7ye/HxHRJ7xYipHK7mGvrx0Z6G0kABOVrxze8jCyOjTkNfB6DD6Kl 9YSeQ/J5ZPoiEesgLF4/UCUqu5l05SkvX1yYsiiWgeu1rOl7tPKF50+Hpz0SGW/TME1Z 9C8/CfwlD3gz8PVFzNdXPhHus2hpU5YHgN/ROzHds4NbwLqcMxxY3GDLVQq4HebFpn/c fPhweLj6BD91AyWYON/WMMLbwM0t7+lbrhNa3Wgr60a6BP0hQ1tFurNo7AN8s0+XqrYi DWKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cmsxZnZv; 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 oz31si5953806ejb.484.2020.11.13.07.59.09; Fri, 13 Nov 2020 07:59:32 -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=cmsxZnZv; 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 S1726788AbgKMP5T (ORCPT + 99 others); Fri, 13 Nov 2020 10:57:19 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:37553 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726741AbgKMP5T (ORCPT ); Fri, 13 Nov 2020 10:57:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605283037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=60wJj95OB0HMoxRPwUZqpPdQUOWeJPZmog9M4skpc20=; b=cmsxZnZvSI6I7bX5BjwduYPOy062CycFmIyLp5F8SQGh+XQcTGH/gqo4dZdiT3TVPiN0PG 0lDMrKpWQyrRGMEx2Y/xnf+GXL/7e0t/2zcOU/KHI2dMsAHXrDl+e5D22f/wFMv7mwdqe2 EJBQ9TMkDWSEMXks4fQRHVOGW+7oAl0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403--STiG3t2NrKA4VtThMO5tw-1; Fri, 13 Nov 2020 10:57:13 -0500 X-MC-Unique: -STiG3t2NrKA4VtThMO5tw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D357C1868401; Fri, 13 Nov 2020 15:57:12 +0000 (UTC) Received: from thinkpad.redhat.com (ovpn-113-83.ams2.redhat.com [10.36.113.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4364710013BD; Fri, 13 Nov 2020 15:57:08 +0000 (UTC) From: Laurent Vivier To: linux-kernel@vger.kernel.org Cc: "Michael S. Tsirkin" , virtualization@lists.linux-foundation.org, Jason Wang , Laurent Vivier , kernel test robot Subject: [PATCH] vdpasim: fix "mac_pton" undefined error Date: Fri, 13 Nov 2020 16:57:06 +0100 Message-Id: <20201113155706.599434-1-lvivier@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 -- 2.28.0