DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] net/netvsc: make da_cache_list local
@ 2025-09-26 15:58 Stephen Hemminger
  2025-09-26 15:58 ` [PATCH 2/2] net/netvsc: rename get_vmbus_device internal function Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stephen Hemminger @ 2025-09-26 15:58 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, longli, Wei Hu

The list of devices is only used in one file and does not follow
naming prefix convention. Make it local.

Fixes: 9a9d038c782e ("net/netvsc: cache device parameters for hotplug events")
Cc: longli@microsoft.com

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 drivers/net/netvsc/hn_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c
index 1d788f3fb7..5b9b54c068 100644
--- a/drivers/net/netvsc/hn_ethdev.c
+++ b/drivers/net/netvsc/hn_ethdev.c
@@ -102,7 +102,7 @@ struct da_cache {
 	char drv_str[];
 };
 
-LIST_HEAD(da_cache_list, da_cache) da_cache_list;
+static LIST_HEAD(da_cache_list, da_cache) da_cache_list;
 static unsigned int da_cache_usage;
 
 static struct rte_eth_dev *
-- 
2.47.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-26 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-26 15:58 [PATCH 1/2] net/netvsc: make da_cache_list local Stephen Hemminger
2025-09-26 15:58 ` [PATCH 2/2] net/netvsc: rename get_vmbus_device internal function Stephen Hemminger
2025-09-26 16:35   ` [EXTERNAL] " Long Li
2025-09-26 17:21   ` Stephen Hemminger
2025-09-26 16:34 ` [EXTERNAL] [PATCH 1/2] net/netvsc: make da_cache_list local Long Li
2025-09-26 17:20 ` Stephen Hemminger

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).