at86rf230: assign wait_for_completion_timeout to appropriately typed var
Subsystems (2)
Alexander Aring
maintainerPATCH 1/1 at86rf230: assign wait_for_completion_timeout to appropriately typed var
From: Nicholas Mc Guire <[email protected]>
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 Nicholas Mc Guire <[email protected]>
Signed-off-by Alexander Aring <[email protected]>
--- drivers/net/ieee802154/at86rf230.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ieee802154/at86rf230.c +1 -1
@@ -689,7 +689,7 @@ at86rf230_sync_state_change_complete(void *context)static int 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_sync_state_change_complete,
Signature · 1 line
2.3.0
Hi Alex,
Quoted 9 lines
return type of
wait_for_completion_timeoutis unsigned long not int. As rc is used here only forwait_for_completion_timeoutthe type is simply changed to unsigned long.Signed-off-by Nicholas Mc Guire <[email protected]>Signed-off-by Alexander Aring <[email protected]>---
drivers/net/ieee802154/at86rf230.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel