From 424dbb28af98d9fca17a7f85cd152d018ddbd2c5 Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Thu, 2 Feb 2006 02:59:47 +0400 Subject: bugfix [5895], return an error value From: Juampe Signed-off-by: Manu Abraham --- linux/drivers/media/dvb/bt8xx/bt878.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c index d98699a0e..34c3189a1 100644 --- a/linux/drivers/media/dvb/bt8xx/bt878.c +++ b/linux/drivers/media/dvb/bt8xx/bt878.c @@ -435,6 +435,8 @@ static int __devinit bt878_probe(struct pci_dev *dev, if (!has_dvb) { printk("%s: card id=[0x%x], Unknown card.\nExiting..\n", __func__, cardid); + result = -EINVAL; + goto fail0; } -- cgit v1.2.3