This patch goes on top of the last one.  It fixes a typo in the test for
scsi_register() failure.

Please apply.

Matt

# This is a BitKeeper generated patch for the following project:
# Project Name: greg k-h's linux 2.5 USB kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.667   -> 1.668  
#       drivers/usb/storage/usb.c       1.68    -> 1.69   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/01/19      [EMAIL PROTECTED]       1.668
# Fix a typo -- reversed the logic of failure test for scsi_register()
# --------------------------------------------
#
diff -Nru a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
--- a/drivers/usb/storage/usb.c Sun Jan 19 17:15:18 2003
+++ b/drivers/usb/storage/usb.c Sun Jan 19 17:15:18 2003
@@ -912,7 +912,7 @@
 
        /* now register */
        ss->host = scsi_register(&usb_stor_host_template, sizeof(ss));
-       if (ss->host) {
+       if (!ss->host) {
                printk(KERN_WARNING USB_STORAGE
                        "Unable to register the scsi host\n");
 
-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

I don't have a left mouse button.  I only have one mouse and it's on my right.
                                        -- Customer
User Friendly, 2/13/1999

Attachment: msg10887/pgp00000.pgp
Description: PGP signature

Reply via email to