Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci KNF: Put back the blank line following the ...
details: https://anonhg.NetBSD.org/src/rev/8f469bb19df0
branches: trunk
changeset: 359020:8f469bb19df0
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 25 21:23:36 2018 +0000
description:
KNF: Put back the blank line following the empty variable declarations
diffstat:
sys/arch/x86/pci/amdzentemp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1adc114e4b40 -r 8f469bb19df0 sys/arch/x86/pci/amdzentemp.c
--- a/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 20:55:15 2018 +0000
+++ b/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 21:23:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdzentemp.c,v 1.2 2018/01/25 15:01:05 prlw1 Exp $ */
+/* $NetBSD: amdzentemp.c,v 1.3 2018/01/25 21:23:36 pgoyette Exp $ */
/* $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $ */
/*
@@ -50,7 +50,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.2 2018/01/25 15:01:05 prlw1 Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.3 2018/01/25 21:23:36 pgoyette Exp $ ");
#include <sys/param.h>
#include <sys/bus.h>
@@ -98,6 +98,7 @@
static int
amdzentemp_match(device_t parent, cfdata_t match, void *aux)
{
+
KASSERT(PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD);
cfdata_t parent_cfdata = device_cfdata(parent);
Home |
Main Index |
Thread Index |
Old Index