From mboxrd@z Thu Jan 1 00:00:00 1970 From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) Date: Thu, 08 Oct 2015 12:03:18 +0200 Subject: [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow In-Reply-To: <12713701.B4epxIQJNF@wuerfel> (Arnd Bergmann's message of "Wed, 07 Oct 2015 22:05:49 +0200") References: <2273145.0Ls8cProhs@wuerfel> <201510072201.51697.arnd@arndb.de> <12713701.B4epxIQJNF@wuerfel> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, Arnd Bergmann writes: > With those two changes in place, we no longer need the fake > pci_sys_data/pci_bus structures for faking config space writes, > and the stack usage goes down as well. > arch/arm/mach-cns3xxx/pcie.c | 71 +++++++++++++++++++++++++++++---------------------------------------- I'm ATM unable to test this change, but will do that at some point. Meanwhile, I guess there is nothing I can say against this patch. Thanks. Acked-by: Krzysztof Ha?asa -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland