Skip to content

Commit

Permalink
/drivers/net/bnx2x: do not cast function pointers as a policy
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lws-team committed May 10, 2018
1 parent a375f14 commit 6cead9e
Showing 1 changed file with 148 additions and 146 deletions.

0 comments on commit 6cead9e

Please sign in to comment.