>From Mark Salyzyn at Adaptec.  

This fixes the way the aac device's id is calculated.
Applies to scsi-misc-2.6 tree.

Signed-off-by: Mark Haverkamp <[EMAIL PROTECTED]>

===== drivers/scsi/aacraid/linit.c 1.46 vs edited =====
--- 1.46/drivers/scsi/aacraid/linit.c   2005-02-03 18:48:49 -08:00
+++ edited/drivers/scsi/aacraid/linit.c 2005-03-10 10:36:35 -08:00
@@ -573,10 +573,9 @@
        int unique_id = 0;
 
        list_for_each_entry(aac, &aac_devices, entry) {
-               if (aac->id > unique_id) {
-                       insert = &aac->entry;
+               if (aac->id > unique_id)
                        break;
-               }
+               insert = &aac->entry;
                unique_id++;
        }
 

-- 
Mark Haverkamp <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to