Commit 0b42760a authored by Andrew Morton's avatar Andrew Morton Committed by Mauro Carvalho Chehab

V4L/DVB: dib7000p: reduce large stack usage fix

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 30d81bb0
...@@ -1330,7 +1330,7 @@ int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defau ...@@ -1330,7 +1330,7 @@ int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defau
dpst = kzalloc(sizeof(struct dib7000p_state), GFP_KERNEL); dpst = kzalloc(sizeof(struct dib7000p_state), GFP_KERNEL);
if (!dpst) if (!dpst)
return -ENODEV; return -ENOMEM;
dpst->i2c_adap = i2c; dpst->i2c_adap = i2c;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment