BNX2X: spatch changes for BUG and WARN
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 18 Feb 2015 19:52:28 +0000 (14:52 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 Mar 2015 16:59:10 +0000 (11:59 -0500)
commit7aa0eb47dc087cad362cea4486bf45f34bdd6f2e
tree0d13d4676555637443632c501a05cc24284c79e3
parentc5c64cc39e00fe84b01ebb7306a6cb8d7c6943f0
BNX2X: spatch changes for BUG and WARN

Spatching, vs #defining.  It'll be easier for other Linux code.

One slight pain is that BUG_ON's logic is the reverse of assert.  Not a huge
deal.
kern/drivers/net/bnx2x/akaros_compat.h
kern/drivers/net/bnx2x/bnx2x.h
kern/drivers/net/bnx2x/bnx2x_cmn.c
kern/drivers/net/bnx2x/bnx2x_cmn.h
kern/drivers/net/bnx2x/bnx2x_main.c
kern/drivers/net/bnx2x/bnx2x_sp.c
kern/drivers/net/bnx2x/bnx2x_sriov.c
kern/drivers/net/bnx2x/bnx2x_stats.c
kern/drivers/net/bnx2x/bnx2x_vfpf.c
scripts/spatch/linux/funcs.cocci