Re: [PATCH v2] mtd: spi-nor: sfdp: reduce stack usage in spi_nor_parse_sfdp()

From: Michael Walle

Date: Fri Oct 16 2026 - 02:42:33 EST



On Thu, 15 Oct 2026 13:31:52 +0200, Michael Walle wrote:
> Two large spi_nor_flash_parameter structures on a function stack
> are really too much, and this can exceed an otherwise reasonable
> frame limit:
>
> drivers/mtd/spi-nor/sfdp.c: In function 'spi_nor_parse_sfdp':
> drivers/mtd/spi-nor/sfdp.c:1717:1: error: the frame size of 1600 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
>
> [...]

Applied, thanks!

[1/1] mtd: spi-nor: sfdp: reduce stack usage in spi_nor_parse_sfdp()
commit: d7040c620d8b22f839af7750860b96e39cc58b7c

Best regards,
--
Michael Walle <mwalle@xxxxxxxxxx>