Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c

2008-02-26 Thread Jean Delvare
Hi Marcin, On Mon, 25 Feb 2008 21:51:00 +0100, Marcin Slusarz wrote: > ir_probe allocated struct i2c_client on stack; > it's pretty big structure, so allocate it with kzalloc > > make checkstack output without this patch: > x059d ir_probe [ir-kbd-i2c]: 1000 > > compile

[PATCH] video: limit stack usage of ir-kbd-i2c.c

2008-02-25 Thread Marcin Slusarz
ir_probe allocated struct i2c_client on stack; it's pretty big structure, so allocate it with kzalloc make checkstack output without this patch: x059d ir_probe [ir-kbd-i2c]: 1000 compile tested only Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Mauro Carvalho Ch