V4L/DVB: "dib3000mc: reduce large stack usage" fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 20 Jul 2010 22:22:42 +0000 (19:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:42:59 +0000 (16:42 -0300)
s/ENODEV/ENOMEM, per Andreas.

This fix got lost when someone merged "dib3000mc: reduce large stack
usage".  Please don't lose fixes.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/dib3000mc.c

index afad252..088e7fa 100644 (file)
@@ -822,7 +822,7 @@ int dib3000mc_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defa
 
        dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL);
        if (dmcst == NULL)
-               return -ENODEV;
+               return -ENOMEM;
 
        dmcst->i2c_adap = i2c;