Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Morton and committed by
Mauro Carvalho Chehab
febe2ea1 37b58bfe

+1 -1
+1 -1
drivers/media/dvb/frontends/dib3000mc.c
··· 822 822 823 823 dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL); 824 824 if (dmcst == NULL) 825 - return -ENODEV; 825 + return -ENOMEM; 826 826 827 827 dmcst->i2c_adap = i2c; 828 828