bnx2x: NULL dereference on error in debug code
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Jan 2013 03:42:14 +0000 (03:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jan 2013 07:53:26 +0000 (23:53 -0800)
commit29166107fd34a4d180c1adaaaccab0c050defc2e
tree3ac612492ddac318d9d01dcdee0f614b744fed41
parentb4fff5f8bf32766ecaa4af6d5c7ef7f0ffb88ed2
bnx2x: NULL dereference on error in debug code

"vfop" is NULL here.  I've changed the debugging to not use it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ariel Elior <ariele@broadcom.com>
Acked-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c