summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-12-06 16:21:21 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-12-06 16:21:21 +0000
commit4d305476822e4024a11c96e00898739ab5777941 (patch)
treea6c22268d4e10d68b1c91b7eb5fbd46efa435e71 /sys/dev
parent6021243678bf550b429e2e0f535e0de521226696 (diff)
Don't forget to return an error
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ixgbe_x550.c3
1 files changed, 2 insertions, 1 deletions
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;