]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fm10k: print error message when stop_hw fails
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 4 Feb 2016 18:47:57 +0000 (10:47 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:55 +0000 (22:03 -0800)
commitbe203a31ba03ca0f08c6bf7141c975edace66af7
tree04da1d2e490906f84143a5c0e80857b7230176d1
parentc78da3e8ba7ea459e2772d005ed9ef37618b1219
fm10k: print error message when stop_hw fails

fm10k_stop_hw_generic calls fm10k_disable_queues_generic, which may
return an error code indicating that the queues were not stopped within
the time limit. Notify the user by displaying a message in the kernel
message ring, in a similar way to how we notify the user when reset_hw
fails. There isn't much we can do to recover from this error, so
currently nothing else is done.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 25394529
(cherry picked from commit 61e0217e83353cf895f8b2d0a187804171d119ca)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c