[DVB patch 3/5] dvb-usb: fix init error checking

From: Johannes Stezenbach
Date: Sun May 22 2005 - 18:58:07 EST


Fix error checking during initialization.
Thanks to Gerolf Wendland for discovering.

Signed-off-by: Patrick Boettcher <pb@xxxxxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>
---
drivers/media/dvb/dvb-usb/dibusb-mb.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.12-rc4-git3/drivers/media/dvb/dvb-usb/dibusb-mb.c
===================================================================
--- linux-2.6.12-rc4-git3.orig/drivers/media/dvb/dvb-usb/dibusb-mb.c 2005-05-23 00:56:12.000000000 +0200
+++ linux-2.6.12-rc4-git3/drivers/media/dvb/dvb-usb/dibusb-mb.c 2005-05-23 00:56:57.000000000 +0200
@@ -81,7 +81,7 @@ static int dibusb_probe(struct usb_inter
const struct usb_device_id *id)
{
if (dvb_usb_device_init(intf,&dibusb1_1_properties,THIS_MODULE) == 0 ||
- dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) ||
+ dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) == 0 ||
dvb_usb_device_init(intf,&dibusb2_0b_properties,THIS_MODULE) == 0)
return 0;


--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/