[PATCH] Linux-2.5.68 - Fix DBG after return statement in drives/media/video/cpia_pp.c

Gabriel Devenyi (devenyga@mcmaster.ca)
Thu, 1 May 2003 15:42:37 -0400


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

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