Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Fix typo in previous *sigh*



details:   https://anonhg.NetBSD.org/src/rev/2d950fa8a709
branches:  nick-nhusb
changeset: 334406:2d950fa8a709
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Feb 19 08:22:40 2016 +0000

description:
Fix typo in previous *sigh*

diffstat:

 sys/dev/usb/ohci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 35b880f54563 -r 2d950fa8a709 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Thu Feb 18 17:38:37 2016 +0000
+++ b/sys/dev/usb/ohci.c        Fri Feb 19 08:22:40 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.254.2.45 2016/02/18 17:38:37 skrll Exp $    */
+/*     $NetBSD: ohci.c,v 1.254.2.46 2016/02/19 08:22:40 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.45 2016/02/18 17:38:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.46 2016/02/19 08:22:40 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1555,7 +1555,7 @@
                        /* clear halt and TD chain */
                        sed->ed.ed_headp = HTOO32(p->physaddr);
                        usb_syncmem(&sed->dma,
-                           sed->offs + offsetof(ohci_ed_t, ed_ed_headp),
+                           sed->offs + offsetof(ohci_ed_t, ed_headp),
                            sizeof(sed->ed.ed_headp),
                            BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
 



Home | Main Index | Thread Index | Old Index