On Fri, Feb 15, 2002 at 12:16:29PM -0800, Greg KH wrote:
> [EMAIL PROTECTED], 2002-02-15 12:06:45-08:00, [EMAIL PROTECTED]
>   usb skeleton driver:
>       - fix by Holger Waechtler <[EMAIL PROTECTED]> for if a device does
>         not have both a bulk in and bulk out endpoint.
> 
>  drivers/usb/usb-skeleton.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletion(-)


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.347   -> 1.348  
#       drivers/usb/usb-skeleton.c      1.8     -> 1.9    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/02/15      [EMAIL PROTECTED]  1.348
# usb skeleton driver:
#       - fix by Holger Waechtler <[EMAIL PROTECTED]> for if a device does
#         not have both a bulk in and bulk out endpoint.
# --------------------------------------------
#
diff -Nru a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c
--- a/drivers/usb/usb-skeleton.c        Fri Feb 15 12:15:12 2002
+++ b/drivers/usb/usb-skeleton.c        Fri Feb 15 12:15:12 2002
@@ -1,5 +1,5 @@
 /*
- * USB Skeleton driver - 0.6
+ * USB Skeleton driver - 0.7
  *
  * Copyright (c) 2001 Greg Kroah-Hartman ([EMAIL PROTECTED])
  *
@@ -22,6 +22,9 @@
  *
  * History:
  *
+ * 2002_02_12 - 0.7 - zero out dev in probe function for devices that do
+ *                     not have both a bulk in and bulk out endpoint.
+ *                     Thanks to Holger Waechtler for the fix.
  * 2001_11_05 - 0.6 - fix minor locking problem in skel_disconnect.
  *                     Thanks to Pete Zaitcev for the fix.
  * 2001_09_04 - 0.5 - fix devfs bug in skel_disconnect. Thanks to wim delvaux
@@ -542,6 +545,7 @@
                err ("Out of memory");
                goto exit;
        }
+       memset (dev, 0x00, sizeof (*dev));
        minor_table[minor] = dev;
 
        interface = &udev->actconfig->interface[ifnum];

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to