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 Apply previous change ("Don't mix sign and ...
details: https://anonhg.NetBSD.org/src/rev/c9d21bf23a5f
branches: trunk
changeset: 971415:c9d21bf23a5f
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Apr 23 13:40:36 2020 +0000
description:
Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.
diffstat:
sys/arch/x86/pci/amdsmn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1259881b7ce6 -r c9d21bf23a5f sys/arch/x86/pci/amdsmn.c
--- a/sys/arch/x86/pci/amdsmn.c Thu Apr 23 12:56:40 2020 +0000
+++ b/sys/arch/x86/pci/amdsmn.c Thu Apr 23 13:40:36 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdsmn.c,v 1.8 2020/04/20 13:02:57 joerg Exp $ */
+/* $NetBSD: amdsmn.c,v 1.9 2020/04/23 13:40:36 simonb Exp $ */
/*-
* Copyright (c) 2017, 2019 Conrad Meyer <cem%FreeBSD.org@localhost>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.8 2020/04/20 13:02:57 joerg Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.9 2020/04/23 13:40:36 simonb Exp $ ");
/*
* Driver for the AMD Family 15h (model 60+) and 17h CPU
@@ -107,7 +107,7 @@
amdsmn_match(device_t parent, cfdata_t match, void *aux)
{
struct pci_attach_args *pa = aux;
- unsigned int i;
+ size_t i;
if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_AMD)
return 0;
Home |
Main Index |
Thread Index |
Old Index