sched/wdog: Replace all callback argument from uint32_t to wdparm_t

and alwasy cast the argument of wd_start to wdparm_t

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-08-06 17:08:40 +08:00
committed by Alan Carvalho de Assis
parent 3b76666a1e
commit 4c706771c3
115 changed files with 540 additions and 539 deletions
+4 -4
View File
@@ -1032,8 +1032,8 @@ static void lan91c111_poll_work(FAR void *arg)
/* Setup the watchdog poll timer again */
wd_start(priv->txpoll, LAN91C111_WDDELAY, lan91c111_poll_expiry, 1,
(wdparm_t)dev);
wd_start(priv->txpoll, LAN91C111_WDDELAY,
lan91c111_poll_expiry, 1, (wdparm_t)dev);
net_unlock();
}
@@ -1133,8 +1133,8 @@ static int lan91c111_ifup(FAR struct net_driver_s *dev)
/* Set and activate a timer process */
wd_start(priv->txpoll, LAN91C111_WDDELAY, lan91c111_poll_expiry, 1,
(wdparm_t)dev);
wd_start(priv->txpoll, LAN91C111_WDDELAY,
lan91c111_poll_expiry, 1, (wdparm_t)dev);
net_unlock();
/* Enable the Ethernet interrupt */