]> err.no Git - linux-2.6/commit
V4L/DVB (7286): limit stack usage of ir-kbd-i2c.c
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 22 Apr 2008 17:45:33 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
commita58858556deb03ea4a464f84fe888692867ce377
tree715753daa1e59ff85ed4be0a1bb68387f1178f7a
parent1c3bf598cf794558694c8beb0c8c7056a81dbe04
V4L/DVB (7286): limit stack usage of ir-kbd-i2c.c

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

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ir-kbd-i2c.c