patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 2/6] net/pcap: fix format string
       [not found] <20210214012013.23165-1-dmitry.kozliuk@gmail.com>
@ 2021-02-14  1:20 ` Dmitry Kozlyuk
  2021-03-01 22:33   ` [dpdk-stable] [dpdk-dev] " Nick Connolly
       [not found] ` <20210214021616.26970-1-dmitry.kozliuk@gmail.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Dmitry Kozlyuk @ 2021-02-14  1:20 UTC (permalink / raw)
  To: dev; +Cc: Tyler Retzlaff, Mike Wells, Dmitry Kozlyuk, stable, Ferruh Yigit

Use PRIu32 for uint32_t (found by -Wformat with Clang on Windows).

Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file")
Cc: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 drivers/net/pcap/rte_eth_pcap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index 90f5d75ea..176928da3 100644
--- a/drivers/net/pcap/rte_eth_pcap.c
+++ b/drivers/net/pcap/rte_eth_pcap.c
@@ -827,7 +827,7 @@ eth_rx_queue_setup(struct rte_eth_dev *dev,
 
 		pcap_pkt_count = count_packets_in_pcap(pcap, pcap_q);
 
-		snprintf(ring_name, sizeof(ring_name), "PCAP_RING%" PRIu16,
+		snprintf(ring_name, sizeof(ring_name), "PCAP_RING%" PRIu32,
 				ring_number);
 
 		pcap_q->pkts = rte_ring_create(ring_name,
-- 
2.29.2


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

* [dpdk-stable] [PATCH v2 2/6] net/pcap: fix format string
       [not found] ` <20210214021616.26970-1-dmitry.kozliuk@gmail.com>
@ 2021-02-14  2:16   ` Dmitry Kozlyuk
  2021-02-25 14:45     ` Ferruh Yigit
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Kozlyuk @ 2021-02-14  2:16 UTC (permalink / raw)
  To: dev; +Cc: Tyler Retzlaff, Mike Wells, Dmitry Kozlyuk, stable, Ferruh Yigit

Use PRIu32 for uint32_t (found by -Wformat with Clang on Windows).

Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file")
Cc: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 drivers/net/pcap/rte_eth_pcap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index 90f5d75ea..176928da3 100644
--- a/drivers/net/pcap/rte_eth_pcap.c
+++ b/drivers/net/pcap/rte_eth_pcap.c
@@ -827,7 +827,7 @@ eth_rx_queue_setup(struct rte_eth_dev *dev,
 
 		pcap_pkt_count = count_packets_in_pcap(pcap, pcap_q);
 
-		snprintf(ring_name, sizeof(ring_name), "PCAP_RING%" PRIu16,
+		snprintf(ring_name, sizeof(ring_name), "PCAP_RING%" PRIu32,
 				ring_number);
 
 		pcap_q->pkts = rte_ring_create(ring_name,
-- 
2.29.2


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

* Re: [dpdk-stable] [PATCH v2 2/6] net/pcap: fix format string
  2021-02-14  2:16   ` [dpdk-stable] [PATCH v2 " Dmitry Kozlyuk
@ 2021-02-25 14:45     ` Ferruh Yigit
  2021-03-02 11:48       ` Ferruh Yigit
  0 siblings, 1 reply; 5+ messages in thread
From: Ferruh Yigit @ 2021-02-25 14:45 UTC (permalink / raw)
  To: Dmitry Kozlyuk, dev; +Cc: Tyler Retzlaff, Mike Wells, stable

On 2/14/2021 2:16 AM, Dmitry Kozlyuk wrote:
> Use PRIu32 for uint32_t (found by -Wformat with Clang on Windows).
> 
> Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

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

* Re: [dpdk-stable] [dpdk-dev] [PATCH 2/6] net/pcap: fix format string
  2021-02-14  1:20 ` [dpdk-stable] [PATCH 2/6] net/pcap: fix format string Dmitry Kozlyuk
@ 2021-03-01 22:33   ` Nick Connolly
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Connolly @ 2021-03-01 22:33 UTC (permalink / raw)
  To: Dmitry Kozlyuk, dev; +Cc: Tyler Retzlaff, Mike Wells, stable, Ferruh Yigit


> Use PRIu32 for uint32_t (found by -Wformat with Clang on Windows).
>
Acked-by: Nick Connolly <nick.connolly@mayadata.io>

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

* Re: [dpdk-stable] [PATCH v2 2/6] net/pcap: fix format string
  2021-02-25 14:45     ` Ferruh Yigit
@ 2021-03-02 11:48       ` Ferruh Yigit
  0 siblings, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2021-03-02 11:48 UTC (permalink / raw)
  To: Dmitry Kozlyuk, dev; +Cc: Tyler Retzlaff, Mike Wells, stable

On 2/25/2021 2:45 PM, Ferruh Yigit wrote:
> On 2/14/2021 2:16 AM, Dmitry Kozlyuk wrote:
>> Use PRIu32 for uint32_t (found by -Wformat with Clang on Windows).
>>
>> Fixes: a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

This is trivial fix and not directly related to the patchset, let me merge it 
and get out of way, in next version you don't need to include this patch.

Applied to dpdk-next-net/main, thanks.

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

end of thread, other threads:[~2021-03-02 11:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210214012013.23165-1-dmitry.kozliuk@gmail.com>
2021-02-14  1:20 ` [dpdk-stable] [PATCH 2/6] net/pcap: fix format string Dmitry Kozlyuk
2021-03-01 22:33   ` [dpdk-stable] [dpdk-dev] " Nick Connolly
     [not found] ` <20210214021616.26970-1-dmitry.kozliuk@gmail.com>
2021-02-14  2:16   ` [dpdk-stable] [PATCH v2 " Dmitry Kozlyuk
2021-02-25 14:45     ` Ferruh Yigit
2021-03-02 11:48       ` Ferruh Yigit

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