From 4d305476822e4024a11c96e00898739ab5777941 Mon Sep 17 00:00:00 2001 From: Mike Belopuhov Date: Tue, 6 Dec 2016 16:21:21 +0000 Subject: Don't forget to return an error --- sys/dev/pci/ixgbe_x550.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/pci/ixgbe_x550.c b/sys/dev/pci/ixgbe_x550.c index 6921eaef764..e6eb829e74f 100644 --- a/sys/dev/pci/ixgbe_x550.c +++ b/sys/dev/pci/ixgbe_x550.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ixgbe_x550.c,v 1.3 2016/12/06 16:09:40 mikeb Exp $ */ +/* $OpenBSD: ixgbe_x550.c,v 1.4 2016/12/06 16:21:20 mikeb Exp $ */ /****************************************************************************** @@ -383,6 +383,7 @@ int32_t ixgbe_identify_phy_x550em(struct ixgbe_hw *hw) hw->phy.type = ixgbe_phy_none; return IXGBE_SUCCESS; } + return ret_val; break; case IXGBE_DEV_ID_X550EM_X_KX4: hw->phy.type = ixgbe_phy_x550em_kx4; -- cgit v1.2.3