Commit f923bca2 authored by Mark Haverkamp's avatar Mark Haverkamp Committed by James Bottomley

[PATCH] aacraid: adapter naming fix

From Mark Salyzyn at Adaptec.

This fixes the way the aac device's id is calculated.
Signed-off-by: default avatarMark Haverkamp <markh@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 3bdb1c26
......@@ -573,10 +573,9 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
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++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment