Skip to content

Commit

Permalink
[netdrvr] netxen: workqueue-related build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Dec 7, 2006
1 parent f1ff0fd commit 0bfdcc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions drivers/net/netxen/netxen_nic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data)
&& netif_carrier_ok(port->netdev))
&& ((jiffies - port->netdev->trans_start) >
port->netdev->watchdog_timeo)) {
SCHEDULE_WORK(port->adapter->tx_timeout_task
+ port->portnum);
SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}

last_consumer = get_next_index(last_consumer,
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev)
{
struct netxen_port *port = (struct netxen_port *)netdev_priv(netdev);

SCHEDULE_WORK(port->adapter->tx_timeout_task + port->portnum);
SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}

static void netxen_tx_timeout_task(struct work_struct *work)
Expand Down

0 comments on commit 0bfdcc8

Please sign in to comment.