lkml.org 
[lkml]   [2000]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] linux-2.3.47/drivers/net/3c505.c
A bug and an unused variable.

diff -ur linux-2.3.47-orig/drivers/net/3c505.c
linux-2.3.47/drivers/net/3c505.c
--- linux-2.3.47-orig/drivers/net/3c505.c Mon Feb 21 21:17:20 2000
+++ linux-2.3.47/drivers/net/3c505.c Mon Feb 21 23:27:33 2000
@@ -362,7 +362,7 @@
{
elp_device *adapter = dev->priv;
while (adapter->rx_active < ELP_RX_PCBS &&
- netif_running(dev->state)) {
+ netif_running(dev)) {
if (!start_receive(dev, &adapter->itx_pcb))
break;
}
@@ -1050,7 +1050,6 @@

static void elp_timeout(struct net_device *dev)
{
- unsigned long flags;
elp_device *adapter = dev->priv;
int stat;


2.3.47 build cleanly with the latest gcc (today's CVS head). I don't
know if it runs yet...

There are quite a few warnings about trigraphs within comments and
strings. Several warnings about stylistic things and files which don't
end in a newline. A few unused vars which could be nailed. But I'm not
sure a patch would be welcome at this time?

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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.034 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site