RE: [Intel-wired-lan] [PATCH] fm10k:Fix error handling in the function fm10k_resume

From: Singh, Krishneil K
Date: Wed Oct 28 2015 - 18:40:39 EST




-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Nicholas Krause
Sent: Saturday, October 17, 2015 9:21 AM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx; intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx
Subject: [Intel-wired-lan] [PATCH] fm10k:Fix error handling in the function fm10k_resume

This fixes error handling to proper check if the call to the function fm10k_mbx_request_irq has failed by returning a error code and if so return immediately to the caller of fm10k_resume to properly signal a failure has occurred when accepting to resume this network

Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
---

Tested-by: Krishneil SIngh <krishneil.k.singh@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/