Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove an unnecessary cast in a KASSERTMSG
details: https://anonhg.NetBSD.org/src/rev/fd288f936991
branches: trunk
changeset: 374485:fd288f936991
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Apr 27 06:30:09 2023 +0000
description:
Remove an unnecessary cast in a KASSERTMSG
diffstat:
sys/dev/usb/xhci.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 0fc7acc0c009 -r fd288f936991 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Thu Apr 27 06:23:31 2023 +0000
+++ b/sys/dev/usb/xhci.c Thu Apr 27 06:30:09 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.177 2023/04/09 20:41:28 riastradh Exp $ */
+/* $NetBSD: xhci.c,v 1.178 2023/04/27 06:30:09 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.177 2023/04/09 20:41:28 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.178 2023/04/27 06:30:09 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -4359,8 +4359,7 @@ xhci_device_ctrl_start(struct usbd_xfer
KASSERT(polling || mutex_owned(&sc->sc_lock));
/* we rely on the bottom bits for extra info */
- KASSERTMSG(((uintptr_t)xfer & 0x3) == 0x0, "xfer %zx",
- (uintptr_t) xfer);
+ KASSERTMSG(((uintptr_t)xfer & 0x3) == 0x0, "xfer %p", xfer);
KASSERT((xfer->ux_rqflags & URQ_REQUEST) != 0);
Home |
Main Index |
Thread Index |
Old Index