RE: [PATCH v3 04/10] app/test: avoid duplicate initialization

2024-11-17 Thread Gujjar, Abhinandan S
> -Original Message- > From: Stephen Hemminger > Sent: Saturday, November 16, 2024 1:37 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; > jerin.ja...@caviumnetworks.com; Richardson, Bruce > ; Gujjar, Abhinandan S > > Subject: [PATCH v3 04/10] app/test: avo

[PATCH v3 04/10] app/test: avoid duplicate initialization

2024-11-15 Thread Stephen Hemminger
The event_dev_config initialization had duplicate assignments to the same element. Change to use structure initialization so that compiler will catch this type of bug. Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: f8f9d233ea0e ("test/eventdev: add unit tests") Cc: jerin.ja...@cavium