From: Andrew Morton <a...@linux-foundation.org>

s/ENODEV/ENOMEM, per Andreas.

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

Cc: Mauro Carvalho Chehab <mche...@infradead.org>
Cc: Patrick Boettcher <pboettc...@dibcom.fr>
Cc: Randy Dunlap <randy.dun...@oracle.com>
Cc: Andreas Oberritter <o...@linuxtv.org>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
---

 drivers/media/dvb/frontends/dib3000mc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/media/dvb/frontends/dib3000mc.c~dib3000mc-reduce-large-stack-usage-fix 
drivers/media/dvb/frontends/dib3000mc.c
--- 
a/drivers/media/dvb/frontends/dib3000mc.c~dib3000mc-reduce-large-stack-usage-fix
+++ a/drivers/media/dvb/frontends/dib3000mc.c
@@ -822,7 +822,7 @@ int dib3000mc_i2c_enumeration(struct i2c
 
        dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL);
        if (dmcst == NULL)
-               return -ENODEV;
+               return -ENOMEM;
 
        dmcst->i2c_adap = i2c;
 
_
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to