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 <malahal@us.ibm.com>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
malahal@us.ibm.com 2013-09-20 16:21:17 -05:00 • committed by David S. Miller
commit 3db9180213
2 changed files with 3 additions and 3 deletions