Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add missing return to print the Slot Power Limit...
details: https://anonhg.NetBSD.org/src/rev/1d541d74bea8
branches: trunk
changeset: 354138:1d541d74bea8
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 05 13:35:33 2017 +0000
description:
Add missing return to print the Slot Power Limit Value correctly.
diffstat:
sys/dev/pci/pci_subr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c3db50a1026c -r 1d541d74bea8 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Mon Jun 05 13:15:13 2017 +0000
+++ b/sys/dev/pci/pci_subr.c Mon Jun 05 13:35:33 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.183 2017/05/29 07:09:20 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.184 2017/06/05 13:35:33 msaitoh Exp $ */
/*
* Copyright (c) 1997 Zubin D. Dittia. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.183 2017/05/29 07:09:20 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.184 2017/06/05 13:35:33 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -2741,6 +2741,7 @@
break;
}
printf("%s\n", s);
+ return;
}
for (unsigned int i = scale; i > 0; i--)
Home |
Main Index |
Thread Index |
Old Index