summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-28 02:09:45 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 19:58:31 +0400
commit0b42760a75afb852be6718fb5e6b54988123b40e (patch)
tree4b41e8bc5d4e4b074d1edc966eef274254ce5ecb /drivers/media/dvb/frontends
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>
Diffstat (limited to 'drivers/media/dvb/frontends')
-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 113fc1394d5d..2e28b973dfd3 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;