|
@@ -354,12 +354,12 @@ static void coalesce_windows(struct pci_root_info *info, unsigned long type)
|
|
|
* the kernel resource tree doesn't allow overlaps.
|
|
|
*/
|
|
|
if (resource_overlaps(res1, res2)) {
|
|
|
- res1->start = min(res1->start, res2->start);
|
|
|
- res1->end = max(res1->end, res2->end);
|
|
|
+ res2->start = min(res1->start, res2->start);
|
|
|
+ res2->end = max(res1->end, res2->end);
|
|
|
dev_info(&info->bridge->dev,
|
|
|
"host bridge window expanded to %pR; %pR ignored\n",
|
|
|
- res1, res2);
|
|
|
- res2->flags = 0;
|
|
|
+ res2, res1);
|
|
|
+ res1->flags = 0;
|
|
|
}
|
|
|
}
|
|
|
}
|