From: Andrew Morton <[email protected]>

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 <[email protected]>
Cc: Patrick Boettcher <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Andreas Oberritter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to