On Thu, Nov 14, 2024 at 11:25:02AM -0800, Stephen Hemminger wrote:
> 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: [email protected]
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
Acked-by: Bruce Richardson <[email protected]>

Reply via email to