mirror of https://gitee.com/openkylin/linux.git
V4L/DVB: Fix kernel Oops when number of NetUP Dual DVB-S2-CI cards more than DVB_MAX_ADAPTERS limit
Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
38bff697ac
commit
bee30192fe
|
@ -991,7 +991,7 @@ static int dvb_register(struct cx23885_tsport *port)
|
|||
ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port,
|
||||
&dev->pci->dev, adapter_nr, 0,
|
||||
cx23885_dvb_fe_ioctl_override);
|
||||
if (!ret)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* init CI & MAC */
|
||||
|
|
Loading…
Reference in New Issue