Skip to contentSkip to conversation

arm allmodconfig

DISCUSSION Vignesh Raghavendra 2 participants 3 messages Apr 6 – Apr 8 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Vignesh Raghavendra

author maintainer
#1 lore raw

Hi Andrew,

+ linux-mtd, Andy

Quoted 8 lines · Andrew Morton

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]

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?

Andy,

Wondering if you plan to work on your patches further, anytime soon?

[1] https://lore.kernel.org/linux-mtd/[email protected]/

Quoted 1 line

Thanks.

Signature · 8 lines
Regards
Vignesh
https://ti.com/opensource


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#2 lore raw
Quoted 11 lines · Vignesh Raghavendra
Quoted 8 lines · Andrew Morton

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]?

Quoted 9 lines

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.

Quoted 1 line

[1] https://lore.kernel.org/linux-mtd/[email protected]/

[2] https://lore.kernel.org/linux-mtd/[email protected]/

Signature · 8 lines
With Best Regards,
Andy Shevchenko



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#3 lore raw
Quoted 23 lines · Andy Shevchenko
Quoted 11 lines · Vignesh Raghavendra
Quoted 8 lines · Andrew Morton

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]?

Quoted 8 lines

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?

Quoted 8 lines
Quoted 1 line

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.

Quoted 1 line

[1] https://lore.kernel.org/linux-mtd/[email protected]/

[2] https://lore.kernel.org/linux-mtd/[email protected]/

FWIW, v3 just has been sent: [email protected]

Signature · 8 lines
With Best Regards,
Andy Shevchenko



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/