From owner-svn-src-head@FreeBSD.ORG Fri May 29 22:11:23 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066DC1065673; Fri, 29 May 2009 22:11:23 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E8DA68FC1C; Fri, 29 May 2009 22:11:22 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4TMBMeQ088250; Fri, 29 May 2009 22:11:22 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4TMBMTw088249; Fri, 29 May 2009 22:11:22 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200905292211.n4TMBMTw088249@svn.freebsd.org> From: Andrew Thompson Date: Fri, 29 May 2009 22:11:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193068 - head/sys/dev/usb/controller X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 22:11:23 -0000 Author: thompsa Date: Fri May 29 22:11:22 2009 New Revision: 193068 URL: http://svn.freebsd.org/changeset/base/193068 Log: Fix function arguments were previously they matched the typedef by accident. Modified: head/sys/dev/usb/controller/usb_controller.c Modified: head/sys/dev/usb/controller/usb_controller.c ============================================================================== --- head/sys/dev/usb/controller/usb_controller.c Fri May 29 21:31:44 2009 (r193067) +++ head/sys/dev/usb/controller/usb_controller.c Fri May 29 22:11:22 2009 (r193068) @@ -485,7 +485,7 @@ SYSUNINIT(usb2_bus_unload, SI_SUB_KLD, S #if USB_HAVE_BUSDMA static void usb2_bus_mem_flush_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, - struct usb_page *pg, uint32_t size, uint32_t align) + struct usb_page *pg, size_t size, size_t align) { usb2_pc_cpu_flush(pc); } @@ -510,7 +510,7 @@ usb2_bus_mem_flush_all(struct usb_bus *b #if USB_HAVE_BUSDMA static void usb2_bus_mem_alloc_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, - struct usb_page *pg, uint32_t size, uint32_t align) + struct usb_page *pg, size_t size, size_t align) { /* need to initialize the page cache */ pc->tag_parent = bus->dma_parent_tag; @@ -570,7 +570,7 @@ usb2_bus_mem_alloc_all(struct usb_bus *b #if USB_HAVE_BUSDMA static void usb2_bus_mem_free_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, - struct usb_page *pg, uint32_t size, uint32_t align) + struct usb_page *pg, size_t size, size_t align) { usb2_pc_free_mem(pc); }