commit | 6b991c3763e15a0884095fc0c133980c5577e9c7 | [log] [tgz] |
---|---|---|
author | Yuval Mintz <yuvalmin@broadcom.com> | Sun Oct 20 16:51:31 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 21 18:31:35 2013 -0400 |
tree | d38e66d21dc4e503b50a5a9050d574a5972d0d98 | |
parent | 0907f34c372766e2822ffd0ec290c69199835faa [diff] |
bnx2x: Prevent null pointer dereference on error flow If debug message is open and bnx2x_vfop_qdtor_cmd() were to fail, the resulting print would have caused a null pointer dereference. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>