diff options
author | Abylay Ospan <aospan@netup.ru> | 2010-06-25 07:01:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 13:52:54 -0400 |
commit | bee30192feeba6d69db45434e7818d532d1b8d33 (patch) | |
tree | 9822aaf3ad166072ac34e5dd1b97f700979049f7 /drivers/media/video/cx23885/cx23885-dvb.c | |
parent | 38bff697ac6904af97cb5f7ee5184d2d320e15c2 (diff) |
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>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 0a199d774d9b..3d70af283881 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -991,7 +991,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
991 | ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port, | 991 | ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port, |
992 | &dev->pci->dev, adapter_nr, 0, | 992 | &dev->pci->dev, adapter_nr, 0, |
993 | cx23885_dvb_fe_ioctl_override); | 993 | cx23885_dvb_fe_ioctl_override); |
994 | if (!ret) | 994 | if (ret) |
995 | return ret; | 995 | return ret; |
996 | 996 | ||
997 | /* init CI & MAC */ | 997 | /* init CI & MAC */ |