Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix a wrong return code from ixl_get_phy_types()
details: https://anonhg.NetBSD.org/src/rev/78a420d628fd
branches: trunk
changeset: 968877:78a420d628fd
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Fri Jan 31 02:11:06 2020 +0000
description:
Fix a wrong return code from ixl_get_phy_types()
diffstat:
sys/dev/pci/if_ixl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9b82f4fa6b5b -r 78a420d628fd sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c Fri Jan 31 00:49:18 2020 +0000
+++ b/sys/dev/pci/if_ixl.c Fri Jan 31 02:11:06 2020 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index