* [dpdk-dev] [PATCH] pdump: fix nb_rx_q may be used uninitialized warning
@ 2017-01-18 7:26 Andrew Rybchenko
2017-01-30 16:03 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Rybchenko @ 2017-01-18 7:26 UTC (permalink / raw)
To: dev; +Cc: Reshma Pattan
Fix GCC 4.8.2 20140120 (Red Hat 4.8.2-16) (RHEL 7.0) false warning
when build with EXTRA_CFLAGS='--coverage'.
Fixes: 278f945402c5 ("pdump: add new library for packet capture")
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
---
lib/librte_pdump/rte_pdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c
index 5968683..a580a6a 100644
--- a/lib/librte_pdump/rte_pdump.c
+++ b/lib/librte_pdump/rte_pdump.c
@@ -337,7 +337,7 @@ struct pdump_response {
static int
set_pdump_rxtx_cbs(struct pdump_request *p)
{
- uint16_t nb_rx_q, nb_tx_q = 0, end_q, queue;
+ uint16_t nb_rx_q = 0, nb_tx_q = 0, end_q, queue;
uint8_t port;
int ret = 0;
uint32_t flags;
--
1.8.2.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] pdump: fix nb_rx_q may be used uninitialized warning
2017-01-18 7:26 [dpdk-dev] [PATCH] pdump: fix nb_rx_q may be used uninitialized warning Andrew Rybchenko
@ 2017-01-30 16:03 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-01-30 16:03 UTC (permalink / raw)
To: Andrew Rybchenko; +Cc: dev, Reshma Pattan
2017-01-18 07:26, Andrew Rybchenko:
> Fix GCC 4.8.2 20140120 (Red Hat 4.8.2-16) (RHEL 7.0) false warning
> when build with EXTRA_CFLAGS='--coverage'.
>
> Fixes: 278f945402c5 ("pdump: add new library for packet capture")
>
> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-30 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 7:26 [dpdk-dev] [PATCH] pdump: fix nb_rx_q may be used uninitialized warning Andrew Rybchenko
2017-01-30 16:03 ` Thomas Monjalon
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).