All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Marcus Meissner <mm@caldera.de>
Cc: Alan Cox <laughing@shared-source.org>, linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.13-ac7
Date: Sun, 4 Nov 2001 09:35:19 -0800	[thread overview]
Message-ID: <20011104093519.A20323@kroah.com> (raw)
In-Reply-To: <20011103185216.A24888@lightning.swansea.linux.org.uk> <200111041659.fA4Gx0B20660@flash.caldera.de>
In-Reply-To: <200111041659.fA4Gx0B20660@flash.caldera.de>

On Sun, Nov 04, 2001 at 05:59:00PM +0100, Marcus Meissner wrote:
> > 2.4.13-ac7
> > o	Add support for one shot interrupt urbs		(Maksim Krasnyanskiy)
> > 	in usbdevfs
> 
> I don't see that patch, there is just one ir-usb.c patch in ac7...

It doesn't look like it really made it in.  I've attached it below
again.

thanks,

greg k-h


diff --minimal -Nru a/drivers/usb/devio.c b/drivers/usb/devio.c
--- a/drivers/usb/devio.c	Thu Nov  1 15:05:39 2001
+++ b/drivers/usb/devio.c	Thu Nov  1 15:05:39 2001
@@ -844,6 +844,14 @@
 		uurb.buffer_length = totlen;
 		break;
 
+	case USBDEVFS_URB_TYPE_INTERRUPT:
+		uurb.number_of_packets = 0;
+		if (uurb.buffer_length > 16384)
+			return -EINVAL;
+		if (!access_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length))
+			return -EFAULT;   
+		break;
+
 	default:
 		return -EINVAL;
 	}


  reply	other threads:[~2001-11-04 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-03 18:52 Linux 2.4.13-ac7 Alan Cox
2001-11-04 16:59 ` Marcus Meissner
2001-11-04 17:35   ` Greg KH [this message]
2001-11-04 18:37 ` Linux 2.4.13-ac7; minor IDE wierdness while failing to run VMWare Alex Bligh - linux-kernel
  -- strict thread matches above, loose matches on Subject: below --
2001-11-04  0:25 Linux 2.4.13-ac7 Thomas Hood
2001-11-05  1:58 Douglas Gilbert

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=20011104093519.A20323@kroah.com \
    --to=greg@kroah.com \
    --cc=laughing@shared-source.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm@caldera.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.