* [PATCH] misc 3c505 bits
@ 2003-08-11 13:40 davej
2003-08-11 14:49 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: davej @ 2003-08-11 13:40 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, jgarzik
- Remove unneeded breaks
- Fix double spin_unlock_irqrestore problem
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/3c505.c linux-2.5/drivers/net/3c505.c
--- bk-linus/drivers/net/3c505.c 2003-05-26 12:57:43.000000000 +0100
+++ linux-2.5/drivers/net/3c505.c 2003-06-04 14:07:40.000000000 +0100
@@ -449,18 +449,18 @@ static int send_pcb(struct net_device *d
case ASF_PCB_ACK:
adapter->send_pcb_semaphore = 0;
return TRUE;
- break;
+
case ASF_PCB_NAK:
#ifdef ELP_DEBUG
printk(KERN_DEBUG "%s: send_pcb got NAK\n", dev->name);
#endif
goto abort;
- break;
}
}
if (elp_debug >= 1)
printk(KERN_DEBUG "%s: timeout waiting for PCB acknowledge (status %02x)\n", dev->name, inb_status(dev->base_addr));
+ goto abort;
sti_abort:
spin_unlock_irqrestore(&adapter->lock, flags);
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] misc 3c505 bits
2003-08-11 13:40 [PATCH] misc 3c505 bits davej
@ 2003-08-11 14:49 ` Jeff Garzik
2003-08-11 14:50 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2003-08-11 14:49 UTC (permalink / raw)
To: davej; +Cc: torvalds, linux-kernel, jgarzik
On Mon, Aug 11, 2003 at 02:40:25PM +0100, davej@redhat.com wrote:
> - Remove unneeded breaks
> - Fix double spin_unlock_irqrestore problem
>
> diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/3c505.c linux-2.5/drivers/net/3c505.c
> --- bk-linus/drivers/net/3c505.c 2003-05-26 12:57:43.000000000 +0100
> +++ linux-2.5/drivers/net/3c505.c 2003-06-04 14:07:40.000000000 +0100
> @@ -449,18 +449,18 @@ static int send_pcb(struct net_device *d
> case ASF_PCB_ACK:
> adapter->send_pcb_semaphore = 0;
> return TRUE;
> - break;
> +
> case ASF_PCB_NAK:
> #ifdef ELP_DEBUG
> printk(KERN_DEBUG "%s: send_pcb got NAK\n", dev->name);
> #endif
> goto abort;
> - break;
Disagree: borks message. You receive an ACK, and print "got NAK".
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-11 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 13:40 [PATCH] misc 3c505 bits davej
2003-08-11 14:49 ` Jeff Garzik
2003-08-11 14:50 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox