Re: [PATCH] x86/pci: print ioh resources only

Linus Torvalds
2010-01-28T18:56:18Z

On Thu, 28 Jan 2010, Yinghai Lu wrote:
> @@ -43,7 +43,7 @@ static void __devinit pci_root_bus_res(s
> {
> u16 word;
> u32 dword;
> - struct pci_root_info *info;
> + struct pci_root_info info;

That structure is something like a kilobyte in size, please don't put
those things on the stack (sixteen "struct resource" entries).

Linus