[dpdk-dev] [PATCH 1/4] net/bnx2x: do not cast function pointers as a policy
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri May 11 18:33:34 CEST 2018
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Andy Green
> Sent: Friday, May 11, 2018 2:51 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 1/4] net/bnx2x: do not cast function pointers as a
> policy
>
> This is stopping the compiler telling you when you have done something stupid...
> that is something none of us can afford...
>
> Now gcc 8.x can tell you did something stupid despite trying to hide the
> evidence.
>
> Remove all the "black magic" casts.
>
> Fix the actual problems.
> ---
> drivers/net/bnx2x/elink.c | 294 +++++++++++++++++++++++----------------------
Missing signed-off-by line, fixes line and Cc stable:
Fixes: b5bf7719221d ("bnx2x: driver support routines")
Cc: stable at dpdk.org
More information about the dev
mailing list