From: Allen Pais <hidden> Date: 2017-09-21 17:05:52
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/dec/tulip/de4x5.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:05:59
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/b44.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:04
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/pcnet32.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
@@ -1970,9 +1970,8 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)lp->options|=PCNET32_PORT_MII;}-init_timer(&lp->watchdog_timer);-lp->watchdog_timer.data=(unsignedlong)dev;-lp->watchdog_timer.function=(void*)&pcnet32_watchdog;+setup_timer(&lp->watchdog_timer,(void*)&pcnet32_watchdog,+(unsignedlong)dev);/* The PCNET32-specific entries in the device structure. */dev->netdev_ops=&pcnet32_netdev_ops;
From: Allen Pais <hidden> Date: 2017-09-21 17:06:11
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:17
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/sun/niu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:24
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/bcm63xx_enet.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:31
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/declance.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:36
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/am79c961a.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:06:42
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/agere/et131x.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
@@ -3624,11 +3624,10 @@ static int et131x_open(struct net_device *netdev)intresult;/* Start the timer to track NIC errors */-init_timer(&adapter->error_timer);+setup_timer(&adapter->error_timer,et131x_error_timer_handler,+(unsignedlong)adapter);adapter->error_timer.expires=jiffies+msecs_to_jiffies(TX_ERROR_PERIOD);-adapter->error_timer.function=et131x_error_timer_handler;-adapter->error_timer.data=(unsignedlong)adapter;add_timer(&adapter->error_timer);result=request_irq(irq,et131x_isr,
From: Allen Pais <hidden> Date: 2017-09-21 17:06:50
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/appletalk/cops.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -424,9 +424,7 @@ static int cops_open(struct net_device *dev)*/if(lp->board==TANGENT)/* Poll 20 times per second */{-init_timer(&cops_timer);-cops_timer.function=cops_poll;-cops_timer.data=(unsignedlong)dev;+setup_timer(&cops_timer,cops_poll,(unsignedlong)dev);cops_timer.expires=jiffies+HZ/20;add_timer(&cops_timer);}
From: Allen Pais <hidden> Date: 2017-09-21 17:06:57
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wireless/rsi/rsi_91x_hal.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:04
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/realtek/atp.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:07
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/natsemi/ns83820.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -1652,9 +1652,7 @@ static int ns83820_open(struct net_device *ndev)writel(0,dev->base+TXDP_HI);writel(desc,dev->base+TXDP);-init_timer(&dev->tx_watchdog);-dev->tx_watchdog.data=(unsignedlong)ndev;-dev->tx_watchdog.function=ns83820_tx_watch;+setup_timer(&dev->tx_watchdog,ns83820_tx_watch,(unsignedlong)ndev);mod_timer(&dev->tx_watchdog,jiffies+2*HZ);netif_start_queue(ndev);/* FIXME: wait for phy to come up */
From: Allen Pais <hidden> Date: 2017-09-21 17:07:14
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/intel/ixgb/ixgb_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:22
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/dlink/sundance.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -913,10 +913,8 @@ static int netdev_open(struct net_device *dev)ioread16(ioaddr+MACCtrl1),ioread16(ioaddr+MACCtrl0));/* Set the timer to check for link beat. */-init_timer(&np->timer);+setup_timer(&np->timer,netdev_timer,(unsignedlong)dev);np->timer.expires=jiffies+3*HZ;-np->timer.data=(unsignedlong)dev;-np->timer.function=netdev_timer;/* timer handler */add_timer(&np->timer);/* Enable interrupts by setting the interrupt mask. */
From: Allen Pais <hidden> Date: 2017-09-21 17:07:27
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/tg3.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:34
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wan/sdla.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:41
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wan/hdlc_cisco.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -293,10 +293,8 @@ static void cisco_start(struct net_device *dev)st->up=st->txseq=st->rxseq=0;spin_unlock_irqrestore(&st->lock,flags);-init_timer(&st->timer);+setup_timer(&st->timer,cisco_timer,(unsignedlong)dev);st->timer.expires=jiffies+HZ;/* First poll after 1 s */-st->timer.function=cisco_timer;-st->timer.data=(unsignedlong)dev;add_timer(&st->timer);}
From: Allen Pais <hidden> Date: 2017-09-21 17:07:47
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/slip/slip.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:07:54
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/toshiba/spider_net.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:08:00
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/sun/cassini.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
@@ -5039,10 +5039,7 @@ static int cas_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)spin_lock_init(&cp->stat_lock[N_TX_RINGS]);mutex_init(&cp->pm_mutex);-init_timer(&cp->link_timer);-cp->link_timer.function=cas_link_timer;-cp->link_timer.data=(unsignedlong)cp;-+setup_timer(&cp->link_timer,cas_link_timer,(unsignedlong)cp);#if 1/* Just in case the implementation of atomic operations*changesothatanexplicitinitializationisnecessary.
From: Allen Pais <hidden> Date: 2017-09-21 17:08:06
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/natsemi/natsemi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -1571,10 +1571,8 @@ static int netdev_open(struct net_device *dev)dev->name,(int)readl(ioaddr+ChipCmd));/* Set the timer to check for link beat. */-init_timer(&np->timer);+setup_timer(&np->timer,netdev_timer,(unsignedlong)dev);np->timer.expires=round_jiffies(jiffies+NATSEMI_TIMER_FREQ);-np->timer.data=(unsignedlong)dev;-np->timer.function=netdev_timer;/* timer handler */add_timer(&np->timer);return0;
From: Allen Pais <hidden> Date: 2017-09-21 17:08:10
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/dec/tulip/winbond-840.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -655,10 +655,8 @@ static int netdev_open(struct net_device *dev)netdev_dbg(dev,"Done netdev_open()\n");/* Set the timer to check for link beat. */-init_timer(&np->timer);+setup_timer(&np->timer,netdev_timer,(unsignedlong)dev);np->timer.expires=jiffies+1*HZ;-np->timer.data=(unsignedlong)dev;-np->timer.function=netdev_timer;/* timer handler */add_timer(&np->timer);return0;out_err:
From: Allen Pais <hidden> Date: 2017-09-21 17:08:18
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/cisco/enic/enic_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:08:24
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/bnx2.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:08:30
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/xen-netback/interface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:08:38
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wireless/atmel/atmel.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:08:43
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/hippi/rrunner.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -1229,10 +1229,8 @@ static int rr_open(struct net_device *dev)/* Set the timer to switch to check for link beat and perhaps switchtoanalternatemediatype.*/-init_timer(&rrpriv->timer);+setup_timer(&rrpriv->timer,rr_timer,(unsignedlong)dev);rrpriv->timer.expires=RUN_AT(5*HZ);/* 5 sec. watchdog */-rrpriv->timer.data=(unsignedlong)dev;-rrpriv->timer.function=rr_timer;/* timer handler */add_timer(&rrpriv->timer);netif_start_queue(dev);
From: Allen Pais <hidden> Date: 2017-09-21 17:08:50
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/smsc/epic100.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -739,10 +739,8 @@ static int epic_open(struct net_device *dev)/* Set the timer to switch to check for link beat and perhaps switchtoanalternatemediatype.*/-init_timer(&ep->timer);+setup_timer(&ep->timer,epic_timer,(unsignedlong)dev);ep->timer.expires=jiffies+3*HZ;-ep->timer.data=(unsignedlong)dev;-ep->timer.function=epic_timer;/* timer handler */add_timer(&ep->timer);returnrc;
From: Allen Pais <hidden> Date: 2017-09-21 17:08:57
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/qlogic/qla3xxx.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -3891,10 +3891,8 @@ static int ql3xxx_probe(struct pci_dev *pdev,INIT_DELAYED_WORK(&qdev->tx_timeout_work,ql_tx_timeout_work);INIT_DELAYED_WORK(&qdev->link_state_work,ql_link_state_machine_work);-init_timer(&qdev->adapter_timer);-qdev->adapter_timer.function=ql3xxx_timer;+setup_timer(&qdev->adapter_timer,ql3xxx_timer,(unsignedlong)qdev);qdev->adapter_timer.expires=jiffies+HZ*2;/* two second delay */-qdev->adapter_timer.data=(unsignedlong)qdev;if(!cards_found){pr_alert("%s\n",DRV_STRING);
From: Allen Pais <hidden> Date: 2017-09-21 17:09:03
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/intel/e1000e/netdev.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:08
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/sunlance.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:15
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/amd8111e.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:23
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/eql.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:28
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
@@ -798,9 +798,8 @@ static int pcan_usb_init(struct peak_usb_device *dev)interr;/* initialize a timer needed to wait for hardware restart */-init_timer(&pdev->restart_timer);-pdev->restart_timer.function=pcan_usb_restart;-pdev->restart_timer.data=(unsignedlong)dev;+setup_timer(&pdev->restart_timer,pcan_usb_restart,+(unsignedlong)dev);/**explicituseofdev_xxx()insteadofnetdev_xxx()here:
From: Allen Pais <hidden> Date: 2017-09-21 17:09:35
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/can/grcan.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:41
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/arcnet/arcnet.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:47
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wireless/ath/ath6kl/txrx.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:09:53
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/sun/sungem.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:10:00
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/sis/sis900.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -1065,10 +1065,8 @@ sis900_open(struct net_device *net_dev)/* Set the timer to switch to check for link beat and perhaps switchtoanalternatemediatype.*/-init_timer(&sis_priv->timer);+setup_timer(&sis_priv->timer,sis900_timer,(unsignedlong)net_dev);sis_priv->timer.expires=jiffies+HZ;-sis_priv->timer.data=(unsignedlong)net_dev;-sis_priv->timer.function=sis900_timer;add_timer(&sis_priv->timer);return0;
From: Allen Pais <hidden> Date: 2017-09-21 17:10:05
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/packetengines/yellowfin.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -632,10 +632,8 @@ static int yellowfin_open(struct net_device *dev)}/* Set the timer to check for link beat. */-init_timer(&yp->timer);+setup_timer(&yp->timer,yellowfin_timer,(unsignedlong)dev);yp->timer.expires=jiffies+3*HZ;-yp->timer.data=(unsignedlong)dev;-yp->timer.function=yellowfin_timer;/* timer handler */add_timer(&yp->timer);out:returnrc;
From: Allen Pais <hidden> Date: 2017-09-21 17:10:13
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/mellanox/mlx5/core/health.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:10:18
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/mellanox/mlx4/catas.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:10:34
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/fealnx.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
@@ -909,17 +909,13 @@ static int netdev_open(struct net_device *dev)printk(KERN_DEBUG"%s: Done netdev_open().\n",dev->name);/* Set the timer to check for link beat. */-init_timer(&np->timer);+setup_timer(&np->timer,netdev_timer,(unsignedlong)dev);np->timer.expires=RUN_AT(3*HZ);-np->timer.data=(unsignedlong)dev;-np->timer.function=netdev_timer;/* timer handler */add_timer(&np->timer);-init_timer(&np->reset_timer);-np->reset_timer.data=(unsignedlong)dev;-np->reset_timer.function=reset_timer;+setup_timer(&np->reset_timer,reset_timer,(unsignedlong)dev);np->reset_timer_armed=0;returnrc;}
From: Allen Pais <hidden> Date: 2017-09-21 17:10:38
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/dec/tulip/dmfe.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -596,10 +596,8 @@ static int dmfe_open(struct net_device *dev)netif_wake_queue(dev);/* set and active a timer process */-init_timer(&db->timer);+setup_timer(&db->timer,dmfe_timer,(unsignedlong)dev);db->timer.expires=DMFE_TIMER_WUT+HZ*2;-db->timer.data=(unsignedlong)dev;-db->timer.function=dmfe_timer;add_timer(&db->timer);return0;
From: Allen Pais <hidden> Date: 2017-09-21 17:10:46
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:10:48
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/amd/a2065.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:10:57
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/adi/bfin_mac.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:04
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/can/sja1000/peak_pcmcia.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -692,9 +692,7 @@ static int pcan_probe(struct pcmcia_device *pdev)}/* init the timer which controls the leds */-init_timer(&card->led_timer);-card->led_timer.function=pcan_led_timer;-card->led_timer.data=(unsignedlong)card;+setup_timer(&card->led_timer,pcan_led_timer,(unsignedlong)card);/* request the given irq */err=request_irq(pdev->irq,&pcan_isr,IRQF_SHARED,PCC_NAME,card);
From: Allen Pais <hidden> Date: 2017-09-21 17:11:10
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/caif/caif_hsi.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:16
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/appletalk/ltpc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -1165,9 +1165,7 @@ struct net_device * __init ltpc_probe(void)dev->irq=0;/* polled mode -- 20 times per second *//* this is really, really slow... should it poll more often? */-init_timer(<pc_timer);-ltpc_timer.function=ltpc_poll;-ltpc_timer.data=(unsignedlong)dev;+setup_timer(<pc_timer,ltpc_poll,(unsignedlong)dev);ltpc_timer.expires=jiffies+HZ/20;add_timer(<pc_timer);
From: Allen Pais <hidden> Date: 2017-09-21 17:11:22
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wan/dscc4.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:28
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wan/hdlc_ppp.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:35
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/hamradio/6pack.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:41
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/ti/cpsw_ale.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:47
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:11:57
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/packetengines/hamachi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -979,10 +979,8 @@ static int hamachi_open(struct net_device *dev)dev->name,readw(ioaddr+RxStatus),readw(ioaddr+TxStatus));}/* Set the timer to check for link beat. */-init_timer(&hmp->timer);+setup_timer(&hmp->timer,hamachi_timer,(unsignedlong)dev);hmp->timer.expires=RUN_AT((24*HZ)/10);/* 2.4 sec. */-hmp->timer.data=(unsignedlong)dev;-hmp->timer.function=hamachi_timer;/* timer handler */add_timer(&hmp->timer);return0;
From: Allen Pais <hidden> Date: 2017-09-21 17:12:06
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/dec/tulip/uli526x.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -491,10 +491,8 @@ static int uli526x_open(struct net_device *dev)netif_wake_queue(dev);/* set and active a timer process */-init_timer(&db->timer);+setup_timer(&db->timer,uli526x_timer,(unsignedlong)dev);db->timer.expires=ULI526X_TIMER_WUT+HZ*2;-db->timer.data=(unsignedlong)dev;-db->timer.function=uli526x_timer;add_timer(&db->timer);return0;
From: Allen Pais <hidden> Date: 2017-09-21 17:12:11
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/cisco/enic/enic_clsf.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:12:18
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/chelsio/cxgb/sge.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:12:25
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:12:32
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/wan/lmc/lmc_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:14:29
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/intel/i40evf/i40evf_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2017-09-21 17:22:46
Use setup_timer function instead of initializing timer with the
function and data fields.
Signed-off-by: Allen Pais <redacted>
---
drivers/net/ethernet/marvell/pxa168_eth.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2017-09-21 18:39:33
From: Allen Pais <redacted>
Date: Thu, 21 Sep 2017 22:34:21 +0530
This series uses setup_timer() helper function. The series
addresses the files under drivers/net/*.
I've reviewed this series and will apply it to net-next.
But please send out smaller chunks next time, maybe 10-15
in a bunch? 64 patches at once makes it really hard for
reviewiers.
Thanks.
This series uses setup_timer() helper function. The series
addresses the files under drivers/net/*.
I've reviewed this series and will apply it to net-next.
But please send out smaller chunks next time, maybe 10-15
in a bunch? 64 patches at once makes it really hard for
reviewiers.
My apologies. I'll make sure I break it into smaller chunks
in the future.
--
- Allen