Re: [PATCH] ARM: cns3xxx: pci: avoid potential stack overflow

2015-10-07 Thread Arnd Bergmann
On Wednesday 27 May 2015, Krzysztof Hałasa wrote: > Arnd Bergmann writes: > > > The cns3xxx_pcie_hw_init function uses excessive kernel > > stack space because of a hack that puts a fake struct > > pci_sys_data and struct pci_bus on the stack in order to > > call the generic pci_bus_read_config a

Re: [PATCH] ARM: cns3xxx: pci: avoid potential stack overflow

2015-05-26 Thread Krzysztof Hałasa
Arnd Bergmann writes: > The cns3xxx_pcie_hw_init function uses excessive kernel > stack space because of a hack that puts a fake struct > pci_sys_data and struct pci_bus on the stack in order to > call the generic pci_bus_read_config accessors, which causes > a warning in ARM allmodconfig builds:

[PATCH] ARM: cns3xxx: pci: avoid potential stack overflow

2015-05-19 Thread Arnd Bergmann
The cns3xxx_pcie_hw_init function uses excessive kernel stack space because of a hack that puts a fake struct pci_sys_data and struct pci_bus on the stack in order to call the generic pci_bus_read_config accessors, which causes a warning in ARM allmodconfig builds: arch/arm/mach-cns3xxx/pcie.c:266