public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@linuxtv.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Patrick Boettcher <pb@linuxtv.org>
Subject: [DVB patch 3/5] dvb-usb: fix init error checking
Date: Mon, 23 May 2005 01:52:36 +0200	[thread overview]
Message-ID: <20050522235336.445659000@abc> (raw)
In-Reply-To: 20050522235233.190143000@abc

[-- Attachment #1: dvb-usb-dibcom-init-fix.patch --]
[-- Type: text/plain, Size: 1042 bytes --]

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

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
---
 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;
 

--


  parent reply	other threads:[~2005-05-22 23:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22 23:52 [DVB patch 0/5] DVB update, mostly dvb-usb Johannes Stezenbach
2005-05-22 23:52 ` [DVB patch 1/5] drop obsolete dibusb driver Johannes Stezenbach
2005-05-22 23:52 ` Johannes Stezenbach [this message]
2005-05-22 23:52 ` [DVB patch 4/5] dvb_frontend: use time_after() Johannes Stezenbach
2005-05-22 23:52 ` [DVB patch 5/5] flexcop: add BCM3510 ATSC frontend support for Air2PC card Johannes Stezenbach
2005-05-24 10:42   ` Johannes Stezenbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050522235336.445659000@abc \
    --to=js@linuxtv.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox