Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 don't pass a NULL ci to xc_unicast



details:   https://anonhg.NetBSD.org/src/rev/357c8d43d859
branches:  trunk
changeset: 762028:357c8d43d859
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Feb 13 17:47:56 2011 +0000

description:
don't pass a NULL ci to xc_unicast

diffstat:

 sys/arch/x86/x86/viac7temp.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f7760a403588 -r 357c8d43d859 sys/arch/x86/x86/viac7temp.c
--- a/sys/arch/x86/x86/viac7temp.c      Sun Feb 13 16:50:16 2011 +0000
+++ b/sys/arch/x86/x86/viac7temp.c      Sun Feb 13 17:47:56 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: viac7temp.c,v 1.2 2010/03/14 18:04:29 pgoyette Exp $ */
+/* $NetBSD: viac7temp.c,v 1.3 2011/02/13 17:47:56 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2009 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viac7temp.c,v 1.2 2010/03/14 18:04:29 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viac7temp.c,v 1.3 2011/02/13 17:47:56 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -57,6 +57,7 @@
 
        sc = kmem_zalloc(sizeof(struct viac7temp_softc), KM_SLEEP);
 
+       sc->sc_ci = ci;
        sc->sc_sensor.units = ENVSYS_STEMP;
        sc->sc_sensor.flags = ENVSYS_FMONLIMITS;
        strlcpy(sc->sc_sensor.desc, "temperature",



Home | Main Index | Thread Index | Old Index