Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754058AbYL2Lqz (ORCPT ); Mon, 29 Dec 2008 06:46:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752331AbYL2Lqq (ORCPT ); Mon, 29 Dec 2008 06:46:46 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:58530 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbYL2Lqp (ORCPT ); Mon, 29 Dec 2008 06:46:45 -0500 X-Sasl-enc: Ld8rDGS4mksGp505eAqiIWA4VVXOXNrg+j7YxJsIlXfa 1230551203 Message-ID: <4958B896.3030801@imap.cc> Date: Mon, 29 Dec 2008 12:46:30 +0100 From: Tilman Schmidt User-Agent: Thunderbird 2.0.0.18 (X11/20081112) MIME-Version: 1.0 To: Julia Lawall CC: hjlipp@web.de, gigaset307x-common@lists.sourceforge.net, gregkh@suse.de, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 3/13] drivers/isdn/gigaset: use USB API functions rather than constants References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC7261E909D30CE9F9F5095B7" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2479 Lines: 77 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC7261E909D30CE9F9F5095B7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 29 Dec 2008 11:19:55 +0100 (CET), Julia Lawall wrote: > This set of patches introduces calls to the following set of functions:= >=20 > usb_endpoint_dir_in(epd) > usb_endpoint_dir_out(epd) > usb_endpoint_is_bulk_in(epd) > usb_endpoint_is_bulk_out(epd) > usb_endpoint_is_int_in(epd) > usb_endpoint_is_int_out(epd) > usb_endpoint_num(epd) > usb_endpoint_type(epd) > usb_endpoint_xfer_bulk(epd) > usb_endpoint_xfer_control(epd) > usb_endpoint_xfer_int(epd) > usb_endpoint_xfer_isoc(epd) [...] >=20 > Signed-off-by: Julia Lawall Acked-by: Tilman Schmidt Thanks, Tilman > --- > drivers/isdn/gigaset/usb-gigaset.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/= usb-gigaset.c > index e847c6e..16399fb 100644 > --- a/drivers/isdn/gigaset/usb-gigaset.c > +++ b/drivers/isdn/gigaset/usb-gigaset.c > @@ -783,7 +783,7 @@ static int gigaset_probe(struct usb_interface *inte= rface, > /* Fill the interrupt urb and send it to the core */ > usb_fill_int_urb(ucs->read_urb, udev, > usb_rcvintpipe(udev, > - endpoint->bEndpointAddress & 0x0f), > + usb_endpoint_num(endpoint)), > cs->inbuf[0].rcvbuf, buffer_size, > gigaset_read_int_callback, > cs->inbuf + 0, endpoint->bInterval); --=20 Tilman Schmidt E-Mail: tilman@imap.cc Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Unge=F6ffnet mindestens haltbar bis: (siehe R=FCckseite) --------------enigC7261E909D30CE9F9F5095B7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFJWLigQ3+did9BuFsRAmj/AKCId1mtOjzYLX2B2FRNzq+5Wu8NVgCfWOZV KuJyrR6d1ZLK7sHir9YAZvw= =tQQd -----END PGP SIGNATURE----- --------------enigC7261E909D30CE9F9F5095B7-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/