Module Name: src Committed By: pgoyette Date: Thu Jan 25 21:23:36 UTC 2018
Modified Files: src/sys/arch/x86/pci: amdzentemp.c Log Message: KNF: Put back the blank line following the empty variable declarations To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/pci/amdzentemp.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/arch/x86/pci/amdzentemp.c diff -u src/sys/arch/x86/pci/amdzentemp.c:1.2 src/sys/arch/x86/pci/amdzentemp.c:1.3 --- src/sys/arch/x86/pci/amdzentemp.c:1.2 Thu Jan 25 15:01:05 2018 +++ src/sys/arch/x86/pci/amdzentemp.c Thu Jan 25 21:23:36 2018 @@ -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 @@ CFATTACH_DECL_NEW(amdzentemp, sizeof(str 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);