summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_mem.c
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2003-07-29 05:07:37 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2003-07-29 05:07:37 +0000
commit44de8a989da0825d1219be3ce6ffdbbdc7752b8c (patch)
treefd1361b477b1dca5f6df310144fb555bbf2d36ef /sys/dev/usb/usb_mem.c
parent38c962e7c4890397057f2d93329204a7a2a86742 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb_mem.c')
-rw-r--r--sys/dev/usb/usb_mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_mem.c b/sys/dev/usb/usb_mem.c
index 143ce2ed2bf8..ae824e19a01c 100644
--- a/sys/dev/usb/usb_mem.c
+++ b/sys/dev/usb/usb_mem.c
@@ -183,6 +183,8 @@ usb_block_allocmem(bus_dma_tag_t tag, size_t size, size_t align,
usbmem_callback, p, 0))
goto memfree;
+ /* XXX - override the tag, ok since we never free it */
+ p->tag = tag;
*dmap = p;
return (USBD_NORMAL_COMPLETION);