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 <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
37b58bfe4b
commit
febe2ea10e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user