--- zzzz-none-000/linux-3.10.107/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c 2021-02-04 17:41:59.000000000 +0000 @@ -1274,7 +1274,7 @@ return; } - if (!ql_core_dump(qdev, qdev->mpi_coredump)) { + if (qdev->mpi_coredump && !ql_core_dump(qdev, qdev->mpi_coredump)) { netif_err(qdev, drv, qdev->ndev, "Core is dumped!\n"); qdev->core_is_dumped = 1; queue_delayed_work(qdev->workqueue,