diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
commit | b064d23a532b2149c827f886719da091c9d46db5 (patch) | |
tree | 850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_mbuf.c | |
parent | 36bf6c9b02de093f113d81dc2ba7c54d7ba93926 (diff) | |
download | FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.zip FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.tar.gz |
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
Diffstat (limited to 'sys/dev/usb/usb_mbuf.c')
-rw-r--r-- | sys/dev/usb/usb_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_mbuf.c b/sys/dev/usb/usb_mbuf.c index 8453609..f57d274 100644 --- a/sys/dev/usb/usb_mbuf.c +++ b/sys/dev/usb/usb_mbuf.c @@ -36,12 +36,12 @@ *------------------------------------------------------------------------*/ void * usb2_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, - size_t block_size, uint16_t nblocks) + usb_size_t block_size, uint16_t nblocks) { struct usb_mbuf *m_ptr; uint8_t *data_ptr; void *free_ptr = NULL; - size_t alloc_size; + usb_size_t alloc_size; /* align data */ block_size += ((-block_size) & (USB_HOST_ALIGN - 1)); |