sched/wdog: wd_start() is an internal OS function and should not set the errno value. Reviewed and updated every call to wd_start() to verify if return value is used and if so if the errno value is accessed.

This commit is contained in:
Gregory Nutt
2018-01-31 10:09:14 -06:00
parent a959d7fefa
commit da50646bcf
43 changed files with 94 additions and 72 deletions
+2 -1
View File
@@ -607,7 +607,8 @@ static void ads7843e_worker(FAR void *arg)
* later.
*/
wd_start(priv->wdog, ADS7843E_WDOG_DELAY, ads7843e_wdog, 1, (uint32_t)priv);
(void)wd_start(priv->wdog, ADS7843E_WDOG_DELAY, ads7843e_wdog, 1,
(uint32_t)priv);
goto ignored;
}
else