Module Name:    src
Committed By:   yamaguchi
Date:           Fri Jan 31 02:11:06 UTC 2020

Modified Files:
        src/sys/dev/pci: if_ixl.c

Log Message:
Fix a wrong return code from ixl_get_phy_types()


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/if_ixl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_ixl.c
diff -u src/sys/dev/pci/if_ixl.c:1.29 src/sys/dev/pci/if_ixl.c:1.30
--- src/sys/dev/pci/if_ixl.c:1.29	Thu Jan 30 09:53:49 2020
+++ src/sys/dev/pci/if_ixl.c	Fri Jan 31 02:11:06 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_ixl.c,v 1.29 2020/01/30 09:53:49 yamaguchi Exp $	*/
+/*	$NetBSD: if_ixl.c,v 1.30 2020/01/31 02:11:06 yamaguchi Exp $	*/
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -4314,7 +4314,7 @@ ixl_get_phy_types(struct ixl_softc *sc, 
 		break;
 	case IXL_AQ_RC_EIO:
 		aprint_error_dev(sc->sc_dev,"unable to query phy types\n");
-		break;
+		goto done;
 	default:
 		aprint_error_dev(sc->sc_dev,
 		    "GET PHY ABILITIIES error %u\n", rv);

Reply via email to