Re: ERROR: modpost: "mac_pton" undefined!

From: Andy Shevchenko
Date: Fri Nov 13 2020 - 08:12:28 EST


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.

> help
> vDPA networking device simulator which loop TX traffic back
>
> I'm going to test with .config and post a patch.


--
With Best Regards,
Andy Shevchenko