mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Linux 2.5.68 - Fix debug statement after return in devices/net/wireless/arlan.c
@ 2003-05-01 20:13 Gabriel Devenyi
  0 siblings, 0 replies; only message in thread
From: Gabriel Devenyi @ 2003-05-01 20:13 UTC (permalink / raw)
  To: hermes; +Cc: linux-kernel

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


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 20:13 [PATCH] Linux 2.5.68 - Fix debug statement after return in devices/net/wireless/arlan.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®