Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1242152

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

From khalasa@piap.pl (Krzysztof Hałasa)
Newsgroups linux.kernel
Subject Re: [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow
Date 2015-10-08 12:10 +0200
Message-ID <qhgja-iz-41@gated-at.bofh.it> (permalink)
References <prRth-1Zg-63@gated-at.bofh.it> <puDtM-41I-13@gated-at.bofh.it> <qh3ce-6Lp-17@gated-at.bofh.it> <qh3cf-6Lp-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Arnd Bergmann <arnd@arndb.de> 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 <khalasa@piap.pl>
-- 
Krzysztof Halasa

Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] ARM: cns3xxx: pci: avoid potential stack overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-07 22:10 +0200
  [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-07 22:10 +0200
    Re: [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow khalasa@piap.pl (Krzysztof Hałasa) - 2015-10-08 12:10 +0200
      Re: [PATCH v2] ARM: cns3xxx: pci: avoid potential stack overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-08 16:40 +0200

csiph-web