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=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no 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 A223AC388F7 for ; Fri, 13 Nov 2020 13:19:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 366132223C for ; Fri, 13 Nov 2020 13:19:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dMiEW8Z2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726439AbgKMNTo (ORCPT ); Fri, 13 Nov 2020 08:19:44 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:52310 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbgKMNTo (ORCPT ); Fri, 13 Nov 2020 08:19:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605273582; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YnoPLyOX/h7MCaXrXZHC7dyhMFH1QSsetRdYcwZkmYM=; b=dMiEW8Z2FbjSYgf8eZr+9kCUiDDd16b6n1czQZINlWeZsiYi1XFnHXjAKL4Oq/30JvDyBy WlvvflUBt8cDvZFRy6mALAXcH8c4mKhiMtHLWub/pnqESueO8TfQ0H+r7GwKo1EpXZFu4B AHxOmYfHorQN35SGeoFqbHX11Yzv1tg= 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-8-nfKeUujtOrapViKJpY9fCw-1; Fri, 13 Nov 2020 08:19:40 -0500 X-MC-Unique: nfKeUujtOrapViKJpY9fCw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E847564157; Fri, 13 Nov 2020 13:19:38 +0000 (UTC) Received: from [10.36.113.83] (ovpn-113-83.ams2.redhat.com [10.36.113.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9CDFF19930; Fri, 13 Nov 2020 13:19:33 +0000 (UTC) Subject: Re: ERROR: modpost: "mac_pton" undefined! To: Andy Shevchenko Cc: kernel test robot , kbuild-all@lists.01.org, Linux Kernel Mailing List , "Michael S. Tsirkin" References: <202011131937.7Fy1Jnv1-lkp@intel.com> <71f5ec23-a1a7-8981-b924-412f4bbed9f6@redhat.com> From: Laurent Vivier Message-ID: <87d01fe1-1746-d31b-80aa-6adf286884c8@redhat.com> Date: Fri, 13 Nov 2020 14:19:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/11/2020 14:12, Andy Shevchenko wrote: > On Fri, Nov 13, 2020 at 2:42 PM Laurent Vivier wrote: > > ... > >>> 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. > > ... > >> + select NET >> default n > > You may also drop 'default n' :-) > > But what I want to say is that API is under NET_UTILS, I dunno if the > driver requires full NET to be selected. And IIRC NET_UTILS is > selected by NET. I think GENERIC_NET_UTILS might be enough. The problem I have for the moment is to find or1k-linux-gcc for my Fedora 33... Thanks, Laurent