From owner-freebsd-usb@FreeBSD.ORG Tue Sep 14 19:50:15 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0001065672; Tue, 14 Sep 2010 19:50:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 336038FC12; Tue, 14 Sep 2010 19:50:14 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=GhlECNBrqI/Vf6B1WHh/e6vjIUfzcOr5t82c3MCckdo= c=1 sm=1 a=Z0oWojwFY6AA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6XjVvcuNo1a_wrI9ZggA:9 a=8OD9y9xIGb-CxeRanGYA:7 a=xON0Z6Vp2Sj5lHj_Icd5x6MPTnEA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 21096544; Tue, 14 Sep 2010 21:49:54 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 14 Sep 2010 21:46:13 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201009140052.o8E0qdbH005162@www.freebsd.org> In-Reply-To: <201009140052.o8E0qdbH005162@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009142146.14093.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Robert Jenssen Subject: Re: usb/150546: libusb(3) libusb_control_transfer() prototype is incorrect X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 19:50:15 -0000 On Tuesday 14 September 2010 02:52:39 Robert Jenssen wrote: > >Number: 150546 > >Category: usb > >Synopsis: libusb(3) libusb_control_transfer() prototype is incorrect > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Sep 14 01:00:03 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Robert Jenssen > >Release: 8-Stable > > >Organization: > IPS radio and space services > > >Environment: > FreeBSD xxxx 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Sep 9 09:41:10 EST 2010 > root@xxxx:/usr/obj/usr/src/sys/ECLIPSE i386 > > >Description: > In the libusb(3) man page the prototype of libusb_control_transfer is: > > int libusb_control_transfer(libusb_device_handle *devh, uint8_t > bmRequestType, uint16_t wIndex, unsigned char *data, uint16_t wLength, > unsigned int timeout) > > In /usr/include/libusb.h the prototype of libusb_control_transfer is: > > int libusb_control_transfer(libusb_device_handle * devh, uint8_t > bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t > *data, uint16_t wLength, uint32_t timeout); > > >How-To-Repeat: > > >Fix: See USB P4 change #183770. --HPS