Messages in this thread | | | From | "Singh, Krishneil K" <> | Subject | RE: [Intel-wired-lan] [PATCH] fm10k:Fix error handling in the function fm10k_setup_tc | Date | Tue, 27 Oct 2015 17:23:12 +0000 |
| |
-----Original Message----- From: Intel-wired-lan [mailto:intel-wired-lan-bounces@lists.osuosl.org] On Behalf Of Nicholas Krause Sent: Tuesday, October 20, 2015 2:05 PM To: Kirsher, Jeffrey T <jeffrey.t.kirsher@intel.com> Cc: linux-kernel@vger.kernel.org; intel-wired-lan@lists.osuosl.org; netdev@vger.kernel.org Subject: [Intel-wired-lan] [PATCH] fm10k:Fix error handling in the function fm10k_setup_tc
This fixes error handling in the function fm10k_setup_tc to properly check if the call to the function fm10k_open has failed by returning a error and if so return immediately to the caller of the function fm10k_setup_tc to properly signal this non recoverable failure.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com> ---
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
| |