diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-25 20:51:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-25 20:51:00 +0000 |
commit | 02f63ce8fd4d1c7ee5e5ba9d4eab01f9cff12f94 (patch) | |
tree | a2402ab95e6650138585e73cbaf34da284805cc1 /linux/drivers/media/video/pvrusb2/pvrusb2-main.c | |
parent | 7911ae25ba666ead539f0c5136f19515f631db8a (diff) | |
download | mediapointer-dvb-s2-02f63ce8fd4d1c7ee5e5ba9d4eab01f9cff12f94.tar.gz mediapointer-dvb-s2-02f63ce8fd4d1c7ee5e5ba9d4eab01f9cff12f94.tar.bz2 |
limit stack usage of ir-kbd-i2c.c
From: Marcin Slusarz <marcin.slusarz@gmail.com>
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>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-main.c')
0 files changed, 0 insertions, 0 deletions