From: Gregor Jasny <gjasny@web.de>
To: Laurent Meunier <meunier.laurent@laposte.net>
Cc: mmcclell@bigfoot.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ov511-2.28 patch for 2.6.12 kernel compat.
Date: Tue, 27 Sep 2005 19:23:04 +0200 [thread overview]
Message-ID: <43397FF8.4090902@web.de> (raw)
In-Reply-To: <43392BF9.30906@laposte.net>
Laurent Meunier schrieb:
> This patch basically remove references to the 'id' field from the static
> struct i2c_client client_template in ovcamchip_core.c, tda7313.c and
> saa7111-new.c) and update a deprecated function (usb_unlink_urb ->
> usb_kill_urb).
> diff -rbup ov511-2.28-orig/ovfx2.c ov511-2.28-new/ovfx2.c
> --- ov511-2.28-orig/ovfx2.c 2004-07-16 01:32:08.000000000 +0200
> +++ ov511-2.28-new/ovfx2.c 2005-09-24 14:00:12.000000000 +0200
> @@ -1678,7 +1678,11 @@ ovfx2_unlink_bulk(struct usb_ovfx2 *ov)
> /* Unschedule all of the bulk td's */
> for (n = OVFX2_NUMSBUF - 1; n >= 0; n--) {
> if (ov->sbuf[n].urb) {
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12)
> usb_unlink_urb(ov->sbuf[n].urb);
> +#else
> + usb_unlink_urb(ov->sbuf[n].urb);
> +#endif
This lines look suspicous to me. Do you meant usb_kill_urb in the >=
2.6.12 case?
Gregor
next prev parent reply other threads:[~2005-09-27 17:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 11:24 [PATCH] ov511-2.28 patch for 2.6.12 kernel compat Laurent Meunier
2005-09-27 17:23 ` Gregor Jasny [this message]
2005-09-27 18:19 ` Laurent Meunier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43397FF8.4090902@web.de \
--to=gjasny@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=meunier.laurent@laposte.net \
--cc=mmcclell@bigfoot.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox