Re: ERROR: modpost: "mac_pton" undefined!
From: Laurent Vivier
Date: Fri Nov 13 2020 - 08:19:45 EST
On 13/11/2020 14:12, Andy Shevchenko wrote:
> On Fri, Nov 13, 2020 at 2:42 PM Laurent Vivier <lvivier@xxxxxxxxxx> wrote:
>
> ...
>
>>> If you fix the issue, kindly add following tag as appropriate
>>> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>>>
>>> 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