DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/enic: make local variable static
@ 2025-10-15 23:11 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2025-10-15 23:11 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, John Daley, Hyong Youb Kim

Avoid global variable name conflicts.

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

diff --git a/drivers/net/enic/enic_sriov.c b/drivers/net/enic/enic_sriov.c
index 43072a2287..29faa31512 100644
--- a/drivers/net/enic/enic_sriov.c
+++ b/drivers/net/enic/enic_sriov.c
@@ -13,7 +13,7 @@ static int enic_check_chan_capability(struct enic *enic);
 static int enic_register_vf(struct enic *enic);
 static void enic_unregister_vf(struct enic *enic);
 
-const char *msg_type_str[ENIC_MBOX_MAX] = {
+static const char *msg_type_str[ENIC_MBOX_MAX] = {
 	"VF_CAPABILITY_REQUEST",
 	"VF_CAPABILITY_REPLY",
 	"VF_REGISTER_REQUEST",
-- 
2.47.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-10-15 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-15 23:11 [PATCH] net/enic: make local variable static 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).