Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Misssed one cast of pointer --> uintptr_t in pre...



details:   https://anonhg.NetBSD.org/src/rev/9e113fe6d05e
branches:  trunk
changeset: 827450:9e113fe6d05e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Oct 28 20:56:51 2017 +0000

description:
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit

diffstat:

 sys/dev/usb/umass.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7839eaa8a4c4 -r 9e113fe6d05e sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Sat Oct 28 20:06:31 2017 +0000
+++ b/sys/dev/usb/umass.c       Sat Oct 28 20:56:51 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.160 2017/10/28 00:37:12 pgoyette Exp $     */
+/*     $NetBSD: umass.c,v 1.161 2017/10/28 20:56:51 pgoyette Exp $     */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.160 2017/10/28 00:37:12 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.161 2017/10/28 20:56:51 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1982,7 +1982,8 @@
        int tag = UGETDW(cbw->dCBWTag);
        int flags = cbw->bCBWFlags;
 
-       DPRINTFM(UDMASS_BBB, "sc %#jx: CBW %jd: cmdlen=%jd", sc, tag, clen, 0);
+       DPRINTFM(UDMASS_BBB, "sc %#jx: CBW %jd: cmdlen=%jd",
+           (uintptr_t)sc, tag, clen, 0);
        DPRINTFM(UDMASS_BBB, "  0x%02jx%02jx%02jx%02jx...",
            c[0], c[1], c[2], c[3]);
        DPRINTFM(UDMASS_BBB, "  0x%02jx%02jx%02jx%02jx...",



Home | Main Index | Thread Index | Old Index