mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gabriel Devenyi <devenyga@mcmaster.ca>
To: hermes@gibson.dropbear.id.au
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Linux 2.5.68 - Fix debug statement after return in devices/net/wireless/arlan.c
Date: Thu, 1 May 2003 16:13:33 -0400	[thread overview]
Message-ID: <200305011613.34078.devenyga@mcmaster.ca> (raw)

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


                 reply	other threads:[~2003-04-30 20:03 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=200305011613.34078.devenyga@mcmaster.ca \
    --to=devenyga@mcmaster.ca \
    --cc=hermes@gibson.dropbear.id.au \
    --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®