Module Name: src
Committed By: msaitoh
Date: Mon Jun 5 13:35:33 UTC 2017
Modified Files:
src/sys/dev/pci: pci_subr.c
Log Message:
Add missing return to print the Slot Power Limit Value correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/dev/pci/pci_subr.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/pci_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.183 src/sys/dev/pci/pci_subr.c:1.184
--- src/sys/dev/pci/pci_subr.c:1.183 Mon May 29 07:09:20 2017
+++ src/sys/dev/pci/pci_subr.c Mon Jun 5 13:35:33 2017
@@ -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 @@ pci_conf_print_pcie_power(uint8_t base,
break;
}
printf("%s\n", s);
+ return;
}
for (unsigned int i = scale; i > 0; i--)