mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gabriel Devenyi <devenyga@mcmaster.ca>
To: kraxel@bytesex.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Linux-2.5.68 - Fix DBG after return statement in drives/media/video/cpia_pp.c
Date: Thu, 1 May 2003 15:42:37 -0400	[thread overview]
Message-ID: <200305011542.46089.devenyga@mcmaster.ca> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch applies to 2.5.68. It fixes a bug listed on kbugs.org, a DBG statement is after a return statement, so it never executes.
- -- 
Building the Future,
Gabriel Devenyi
devenyga@mcmaster.ca

- ---FILE----

- --- linux-2.5.68/drivers/media/video/cpia_pp.c	2003-04-19 22:48:49.000000000 -0400
+++ linux-2.5.68-changed/drivers/media/video/cpia_pp.c	2003-05-01 15:00:36.000000000 -0400
@@ -605,8 +605,8 @@
 			return -EINVAL;
 		}
 		if((err = ReadPacket(cam, buffer, 8)) < 0) {
- -			return err;
 			DBG("Error reading command result\n");
+			return err;
 		}
 		memcpy(data, buffer, databytes);
 	} else if(command[0] == DATA_OUT) {

- ---ENDFILE----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sXiy7I5UBdiZaF4RAvMXAJ9xRpCUS7vw9Rq9hmSfFgh6XQeqEQCeM5Dg
BXxyNJdXBytaGa/XtjyY1is=
=15rS
-----END PGP SIGNATURE-----


                 reply	other threads:[~2003-04-30 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200305011542.46089.devenyga@mcmaster.ca \
    --to=devenyga@mcmaster.ca \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®