Skip to contentSkip to conversation

Excessive frame size

DISCUSSION Ralf Baechle 2 participants 2 messages Jun 23, 2011

lore
Share & tools
lore
#0 lore raw

In a MIPS allyesconfig build I got the following warning:

CC [M] drivers/staging/vt6656/int.o
drivers/staging/vt6656/iwctl.c: In function ‘iwctl_giwaplist’:
drivers/staging/vt6656/iwctl.c:787:1: warning: the frame size of 1288 bytes is larger than 1024 bytes [-Wframe-larger-than=]

That's a huge stackpig already on a 32-bit kernel and it will only be bigger on a 64-bit kernel!

Ralf

#1 lore raw
Quoted 8 lines · Ralf Baechle

In a MIPS allyesconfig build I got the following warning:

CC [M] drivers/staging/vt6656/int.o
drivers/staging/vt6656/iwctl.c: In function ‘iwctl_giwaplist’:
drivers/staging/vt6656/iwctl.c:787:1: warning: the frame size of 1288 bytes is larger than 1024 bytes [-Wframe-larger-than=]

That's a huge stackpig already on a 32-bit kernel and it will only be bigger on a 64-bit kernel!

Yes it is, that's why people are rewriting this from scratch in a "real" driver so we can delete this one soon :)

greg k-h