mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Linux-2.5.68 - Fix DBG after return statement in drives/media/video/cpia_pp.c
@ 2003-05-01 19:42 Gabriel Devenyi
  0 siblings, 0 replies; only message in thread
From: Gabriel Devenyi @ 2003-05-01 19:42 UTC (permalink / raw)
  To: kraxel; +Cc: linux-kernel

-----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-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-30 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 19:42 [PATCH] Linux-2.5.68 - Fix DBG after return statement in drives/media/video/cpia_pp.c Gabriel Devenyi

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®