[PATCH v2] mtd: avoid stack overflow in MTD CFI code
Arnd Bergmann
arnd at arndb.de
Fri Mar 4 15:25:24 PST 2016
On Friday 04 March 2016 13:21:59 Brian Norris wrote:
>
> Looking a little closer at this... why do we need the changes to
> include/linux/mtd/map.h again? It should be fine to leave these
> definitions as-is, right? They don't contribute to the large stack
> usage, do they?
>
> Maybe I'm just missing something obvious, so please do enlighten
>
It's been a while since I created the patch, and the originally
failing configuration currently doesn't produce this (probably
because something else changed). I remember that it was something
rather subtle, but don't exactly remember what happened.
I've reverted the patch now, trying to reproduce it on my
randconfig setup, but I might not be able to get back to you
in the next week while I'm traveling.
Arnd
More information about the linux-mtd
mailing list