[PATCH v19 25/25] check patch warn in test

Stephen Hemminger
2026-03-10T02:52:17Z

---
app/test/test_pmd_pcap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_pmd_pcap.c b/app/test/test_pmd_pcap.c
index 3b0a7e1348..4662e6675d 100644
--- a/app/test/test_pmd_pcap.c
+++ b/app/test/test_pmd_pcap.c
@@ -1912,7 +1912,7 @@ set_iface_up_down(const char *ifname, int up)
static const char *
find_lsc_test_iface(void)
{
- static const char *candidates[] = { "dummy0", "disc0" };
+ static const char * const candidates[] = { "dummy0", "disc0" };
unsigned int i;

for (i = 0; i < RTE_DIM(candidates); i++) {
--
2.51.0