]> git.baikalelectronics.ru Git - kernel.git/commit
can: janz-ican3: fix type mismatch in assignment
authorNicholas Mc Guire <der.herr@hofr.at>
Sun, 1 Feb 2015 08:34:34 +0000 (03:34 -0500)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Feb 2015 13:06:43 +0000 (14:06 +0100)
commitb2b88f9709c38ae5e6d0653426b09e48dfdf7095
treee569c83b41d1683b39ea9a09755b02e45b825f1e
parent6b76587682fa398428807a9c512979de54d341a9
can: janz-ican3: fix type mismatch in assignment

return type of wait_for_completion_timeout is unsigned long not int, this patch
removes the type mismatch by moving the call into the condition.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c