[PATCH] Linux 2.5.68 - Fix debug statement after return in devices/net/wireless/arlan.c

From: Gabriel Devenyi (devenyga@mcmaster.ca)
Date: Thu May 01 2003 - 15:13:33 EST


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

This patch applies to 2.5.68 and is listed on kbugs.org. The debug statement is never executed becasue it is after a return.

Please CC me with any discussion.
- --
Building the Future,
Gabriel Devenyi
devenyga@mcmaster.ca

- ---FILE---

- --- linux-2.5.68/drivers/net/wireless/arlan.c 2003-04-19 22:50:06.000000000 -0400
+++ linux-2.5.68-changed/drivers/net/wireless/arlan.c 2003-05-01 15:07:06.000000000 -0400
@@ -798,9 +798,9 @@
         else
         {
                 netif_stop_queue (dev);
- - return -1;
                 IFDEBUG(ARLAN_DEBUG_TX_CHAIN)
                         printk(KERN_ERR "TX TAIL & HEAD full, return, tailStart %d headEnd %d\n", tailStarts, headEnds);
+ return -1;
         }
         priv->out_bytes += length;
         priv->out_bytes10 += length;

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

iD8DBQE+sX/t7I5UBdiZaF4RAqcIAJ9DX4cjmRq7qym+xqOufQ9qctMN4ACeJyIg
bB90sFAXAQrwY7SxIzosFaM=
=QDal
-----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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:36 EST