mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00:00
[netdrvr] netxen: workqueue-related build fixes
This commit is contained in:
parent
f1ff0fdc35
commit
0bfdcc88df
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user