提交 3e544ef9 编写于 作者: N Nicholas Mc Guire 提交者: Marcel Holtmann

at86rf230: assign wait_for_completion_timeout to appropriately typed var

return type of wait_for_completion_timeout is unsigned long not int.
As rc is used here only for wait_for_completion_timeout the type is simply
changed to unsigned long.
Signed-off-by: NNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 ff0fcc29
...@@ -689,7 +689,7 @@ at86rf230_sync_state_change_complete(void *context) ...@@ -689,7 +689,7 @@ at86rf230_sync_state_change_complete(void *context)
static int static int
at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state) at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state)
{ {
int rc; unsigned long rc;
at86rf230_async_state_change(lp, &lp->state, state, at86rf230_async_state_change(lp, &lp->state, state,
at86rf230_sync_state_change_complete, at86rf230_sync_state_change_complete,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册