From: Andrew Morton Date: Tue, 20 Jul 2010 22:22:42 +0000 (-0300) Subject: V4L/DVB: "dib3000mc: reduce large stack usage" fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=febe2ea10e041c014b295a0321f7ec62c05b7e3f;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB: "dib3000mc: reduce large stack usage" fix 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c index afad252abf41..088e7fadbe3d 100644 --- a/drivers/media/dvb/frontends/dib3000mc.c +++ b/drivers/media/dvb/frontends/dib3000mc.c @@ -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;