* [PATCH] vdpasim: fix "mac_pton" undefined error
@ 2020-11-13 15:57 Laurent Vivier
2020-11-13 18:49 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Vivier @ 2020-11-13 15:57 UTC (permalink / raw)
To: linux-kernel
Cc: Laurent Vivier, virtualization, kernel test robot,
Michael S. Tsirkin
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 <lkp@intel.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
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
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] vdpasim: fix "mac_pton" undefined error
2020-11-13 15:57 [PATCH] vdpasim: fix "mac_pton" undefined error Laurent Vivier
@ 2020-11-13 18:49 ` Randy Dunlap
2020-11-13 19:31 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2020-11-13 18:49 UTC (permalink / raw)
To: Laurent Vivier, linux-kernel
Cc: virtualization, kernel test robot, Michael S. Tsirkin
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 <lkp@intel.com>
On Nov. 2, 2020:
Reported-by: Randy Dunlap <rdunlap@infradead.org>
https://lore.kernel.org/lkml/d3d50a94-cdc5-572b-e9ca-3ee5638d21ee@infradead.org/
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> 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.
--
~Randy
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] vdpasim: fix "mac_pton" undefined error
2020-11-13 18:49 ` Randy Dunlap
@ 2020-11-13 19:31 ` Randy Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-11-13 19:31 UTC (permalink / raw)
To: Laurent Vivier, linux-kernel
Cc: virtualization, kernel test robot, Michael S. Tsirkin
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 <lkp@intel.com>
>
> On Nov. 2, 2020:
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
>
> https://lore.kernel.org/lkml/d3d50a94-cdc5-572b-e9ca-3ee5638d21ee@infradead.org/
>
>
>> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
>> ---
>> 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 <rdunlap@infradead.org> # build-tested
--
~Randy
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-13 19:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-13 15:57 [PATCH] vdpasim: fix "mac_pton" undefined error Laurent Vivier
2020-11-13 18:49 ` Randy Dunlap
2020-11-13 19:31 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).