Skip to contentSkip to conversation

drivers/media/dvb/frontends/dib?000*: stack usage problems

DISCUSSION Adrian Bunk 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

The following functions each allocate a > 1.5 kB *_state struct on the stack:
- dib7000m_i2c_enumeration()
- dib7000p_i2c_enumeration()
- dib3000mc_i2c_enumeration()

Considering that the whole stack might be only 4 kB, functions shouldn't use 1.5 kB of the stack.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed