Re: [PATCH v3 10/10] app/test-dma-perf: fix parsing of DMA address

2024-11-17 Thread fengchengwen
On 2024/11/16 4:06, Stephen Hemminger wrote: > There was useless loop when looking at the DMA address. > It looks like it was meant to skip whitespace before > calling strtok. > > Good time to replace strtok with strtok_r as well. Please delete this line, with this fixed: Acked-by: Chengwen Feng

[PATCH v3 10/10] app/test-dma-perf: fix parsing of DMA address

2024-11-15 Thread Stephen Hemminger
There was useless loop when looking at the DMA address. It looks like it was meant to skip whitespace before calling strtok. Good time to replace strtok with strtok_r as well. Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test"