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 s/0/NULL/ for pointers



details:   https://anonhg.NetBSD.org/src/rev/a7610f3664f1
branches:  nick-nhusb
changeset: 334173:a7610f3664f1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 29 08:08:01 2015 +0000

description:
s/0/NULL/ for pointers

diffstat:

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

diffs (27 lines):

diff -r ce43fa7de7c6 -r a7610f3664f1 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sat Mar 28 15:56:45 2015 +0000
+++ b/sys/dev/usb/uhci.c        Sun Mar 29 08:08:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.264.4.25 2015/03/19 17:26:43 skrll Exp $    */
+/*     $NetBSD: uhci.c,v 1.264.4.26 2015/03/29 08:08:01 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.25 2015/03/19 17:26:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.26 2015/03/29 08:08:01 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -1970,7 +1970,7 @@
            maxp, ntd, 0, 0);
 
        if (ntd == 0) {
-               *sp = *ep = 0;
+               *sp = *ep = NULL;
                DPRINTFN(1, "ntd=0", 0, 0, 0, 0);
                return USBD_NORMAL_COMPLETION;
        }



Home | Main Index | Thread Index | Old Index