Re: [PATCH v2 00/14] Remove unnecessary function pointer deref

2025-02-20 Thread Bruce Richardson
On Wed, Feb 19, 2025 at 06:32:04PM -0800, Stephen Hemminger wrote: > A common pattern in DPDK internals is to have an array of function > pointers. When using these pointers an unnecessary derefence is done; > this is allowed in C because of a historical quirk but unnecessary. > > This fixes all i

RE: [PATCH v2 00/14] Remove unnecessary function pointer deref

2025-02-20 Thread Morten Brørup
Series-acked-by: Morten Brørup

[PATCH v2 00/14] Remove unnecessary function pointer deref

2025-02-19 Thread Stephen Hemminger
A common pattern in DPDK internals is to have an array of function pointers. When using these pointers an unnecessary derefence is done; this is allowed in C because of a historical quirk but unnecessary. This fixes all instances of PVS Studio checker warning: https://pvs-studio.com/en/docs/warni