summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-27 22:09:45 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 15:58:31 (GMT)
commit0b42760a75afb852be6718fb5e6b54988123b40e (patch)
tree4b41e8bc5d4e4b074d1edc966eef274254ce5ecb
parent30d81bb086c84d54cde4dd4d0c75d9455224632b (diff)
downloadlinux-0b42760a75afb852be6718fb5e6b54988123b40e.tar.xz
V4L/DVB: dib7000p: reduce large stack usage fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/dib7000p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c
index 113fc13..2e28b97 100644
--- a/drivers/media/dvb/frontends/dib7000p.c
+++ b/drivers/media/dvb/frontends/dib7000p.c
@@ -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);
if (!dpst)
- return -ENODEV;
+ return -ENOMEM;
dpst->i2c_adap = i2c;