[dpdk-dev] [PATCH v3 1/4] net/bnx2x: do not cast function pointers as a policy
Mody, Rasesh
Rasesh.Mody at cavium.com
Tue May 15 21:47:18 CEST 2018
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Andy Green
> Sent: Sunday, May 13, 2018 10:04 PM
>
> 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.
>
> Signed-off-by: Andy Green <andy at warmcat.com>
> Fixes: b5bf7719221d ("bnx2x: driver support routines")
> Cc: stable at dpdk.org
> ---
Acked-by: Rasesh Mody <rasesh.mody at cavium.com>
More information about the dev
mailing list