qlge: call ql_core_dump() only if dump memory was allocated.
author[email protected] <[email protected]>
Fri, 20 Sep 2013 21:21:17 +0000 (16:21 -0500)
committerDavid S. Miller <[email protected]>
Tue, 24 Sep 2013 15:19:46 +0000 (11:19 -0400)
commit3db9180213af6aa54effc2b94bc9090dc1f68673
tree3546671adc74cf82e1182a080efee938e9d2887e
parent3361dc9538832a2a9150a8c722374ca844bf8dc8
qlge: call ql_core_dump() only if dump memory was allocated.

Also changed a log message to indicate that memory was not allocated
instead of memory not available!

Signed-off-by: Malahal Naineni <[email protected]>
Acked-by: Jitendra Kalsaria <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qlge/qlge_dbg.c
drivers/net/ethernet/qlogic/qlge/qlge_mpi.c