Tag: cd2b0389dc304c6a7fa2ebae200f246059c68dd9

bnx2x: Remove hidden flow control goto from BNX2X_ALLOC macros

Author: Joe Perches <joe@perches.com> BNX2X_ALLOC macros use “goto alloc_mem_err” so these labels appear unused in some functions. Expand these macros in-place via coccinelle and some typing. Update the macros to use statement expressions and remove the BNX2X_ALLOC macro. This adds some > 80 char lines. $ cat bnx2x_pci_alloc.cocci @@ expression e1; expression e2; expression e3; …

Continue reading