arm allmodconfig

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Apr 8 13:30:30 PDT 2026


On Mon, Apr 06, 2026 at 12:13:59PM +0530, Vignesh Raghavendra wrote:
> On 06/04/26 03:05, Andrew Morton wrote:
> > 
> > current mm.git, ARCH=arm, gcc-15.2.0
> > 
> > drivers/mtd/chips/cfi_cmdset_0001.c: In function 'do_write_buffer':
> > drivers/mtd/chips/cfi_cmdset_0001.c:1883:1: error: the frame size of 1296 bytes is larger than 1280 bytes [-Werror=frame-larger-than=]
> > 
> > Am I doing something wrong (or unconventional) here?
> > 
> 
> Thanks for the report. Adding Andy  who had attempted to fix this [1]

You meant [2]?

> make allmodconfig ARCH=arm  actually sets CONFIG_FRAME_WARN=2048. But, I 
> can see the warning when I change it to 1280 manually (bit strange as I 
> expected 1280 to be default based on definition in lib/Kconfig.debug)
> 
> I am not seeing any recent code change to this file in at least 6 weeks 
> (the changes are still minor code cleanup and nothing before that for 2 
> years). I can only assume newer gcc is exposing something here?
> 
> Wondering if you plan to work on your patches further, anytime soon?

Yes, I am about to read again the threads and compare my latest local version
with that. After additional checks I'll send a v3.

> [1] https://lore.kernel.org/linux-mtd/20260225162406.3815267-1-andriy.shevchenko@linux.intel.com/

[2] https://lore.kernel.org/linux-mtd/20260204012630.2211832-1-andriy.shevchenko@linux.intel.com/

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-mtd mailing list