lkml.org 
[lkml]   [2010]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/11] pci: update bridge res to get more big range in pci assign unssign
On 01/19/2010 01:48 PM, Alex Chiang wrote:
>> + /* retore size and flags */
>
> "restore"
>
>> + for (list = head.next; list;) {
>> + struct resource *res = list->res;
>> +
>> + res->start = list->start;
>> + res->end = list->end;
>> + res->flags = list->flags;
>> + if (list->dev->subordinate)
>> + res->flags = 0;
>> +
>> + list = list->next;
>> + }
>> + free_failed_list(&head);
>> +
>> + goto again;
>> +
>> +enable_and_dump:
>> + /* Depth last, update the hardware. */
>> + list_for_each_entry(bus, &pci_root_buses, node) {
>> pci_enable_bridges(bus);
>> }
>
> Strictly speaking, you don't need these curly braces.

ok


\
 
 \ /
  Last update: 2010-01-19 23:13    [W:0.072 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site