diff options
| author | skrll <skrll@NetBSD.org> | 2023-04-27 06:30:09 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2023-04-27 06:30:09 +0000 |
| commit | aa98af21341b7dd4020845abcf384ec514d93053 (patch) | |
| tree | 0a1731523f8b1181aefd6ff6f2d415971c6f0bc0 /sys/dev | |
| parent | e5162ea13308e1b83fc5d9bb1acf14564ae60aad (diff) | |
Remove an unnecessary cast in a KASSERTMSG
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/xhci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c index 96b6d69efb1..5b8916973b5 100644 --- a/sys/dev/usb/xhci.c +++ b/sys/dev/usb/xhci.c @@ -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 *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); |
