[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176881795958.2442128.16209814865839859020.b4-ty@bootlin.com>
Date: Mon, 19 Jan 2026 11:19:19 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: richard@....at, vigneshr@...com, linux-mtd@...ts.infradead.org,
Daniel Palmer <daniel@...ngy.jp>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: parsers: ofpart: Remove code/data for disabled
custom parsers
On Sun, 04 Jan 2026 19:01:51 +0900, Daniel Palmer wrote:
> Currently even if none of the custom parsers are selected a struct
> of_device_id and a dummy function that just returns -EOPNOTSUPP is
> compiled in for each of them.
>
> Its not obvious from the code but struct of_device_id is massive,
> 196 or 200 bytes (see link), so this is a lot more wasteful than you'd
> think just skimming the code and assuming the wasted size is just the
> length of the string with some small overhead.
>
> [...]
Applied to mtd/next, thanks!
[1/1] mtd: parsers: ofpart: Remove code/data for disabled custom parsers
commit: 56477aea482dd81e0364d98a02ab805d24242b72
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
Powered by blists - more mailing lists