Commit bee30192 authored by Abylay Ospan's avatar Abylay Ospan Committed by Mauro Carvalho Chehab

V4L/DVB: Fix kernel Oops when number of NetUP Dual DVB-S2-CI cards more than DVB_MAX_ADAPTERS limit

Signed-off-by: default avatarAbylay Ospan <aospan@netup.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 38bff697
...@@ -991,7 +991,7 @@ static int dvb_register(struct cx23885_tsport *port) ...@@ -991,7 +991,7 @@ static int dvb_register(struct cx23885_tsport *port)
ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port, ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port,
&dev->pci->dev, adapter_nr, 0, &dev->pci->dev, adapter_nr, 0,
cx23885_dvb_fe_ioctl_override); cx23885_dvb_fe_ioctl_override);
if (!ret) if (ret)
return ret; return ret;
/* init CI & MAC */ /* init CI & MAC */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment