Skip to content

Commit

Permalink
V4L/DVB: "dib3000mc: reduce large stack usage" fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 37b58bf commit febe2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/dib3000mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit febe2ea

Please sign in to comment.