Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Fix pasto in previous; pass a correct devic...



details:   https://anonhg.NetBSD.org/src/rev/66f90099e135
branches:  trunk
changeset: 790467:66f90099e135
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Oct 13 12:29:42 2013 +0000

description:
Fix pasto in previous; pass a correct device_t to config_pending_derc().

diffstat:

 sys/arch/xen/xen/xpci_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8b3118ec3068 -r 66f90099e135 sys/arch/xen/xen/xpci_xenbus.c
--- a/sys/arch/xen/xen/xpci_xenbus.c    Sun Oct 13 09:48:14 2013 +0000
+++ b/sys/arch/xen/xen/xpci_xenbus.c    Sun Oct 13 12:29:42 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xpci_xenbus.c,v 1.13 2013/10/13 06:55:34 riz Exp $      */
+/*      $NetBSD: xpci_xenbus.c,v 1.14 2013/10/13 12:29:42 tsutsui Exp $      */
 
 /*
  * Copyright (c) 2009 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.13 2013/10/13 06:55:34 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.14 2013/10/13 12:29:42 tsutsui Exp $");
 
 #include "opt_xen.h"
 
@@ -284,7 +284,7 @@
                sc->sc_backend_status = XPCI_STATE_CONNECTED;
 
                /* the devices should be working now */
-               config_pending_decr(sc->sc_dksc.sc_dev);
+               config_pending_decr(sc->sc_dev);
                break;
        default:
                panic("bad backend state %d", new_state);



Home | Main Index | Thread Index | Old Index