Re: [PATCH 3/5] spi: sh-msiof: cleanup wait_for_completion return handling

2015-02-04 Thread Mark Brown
On Mon, Feb 02, 2015 at 03:30:34AM -0500, Nicholas Mc Guire wrote: > From: Nicholas Mc Guire > > return type of wait_for_completion_timeout is unsigned long not int, this > patch uses the return value of wait_for_completion_timeout in the condition > directly rather than assigning it to an

Re: [PATCH 3/5] spi: sh-msiof: cleanup wait_for_completion return handling

2015-02-04 Thread Mark Brown
On Mon, Feb 02, 2015 at 03:30:34AM -0500, Nicholas Mc Guire wrote: From: Nicholas Mc Guire der.h...@hofr.at return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than assigning it

[PATCH 3/5] spi: sh-msiof: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than assigning it to an incorrect type variable. Signed-off-by: Nicholas Mc Guire --- The return type

[PATCH 3/5] spi: sh-msiof: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
From: Nicholas Mc Guire der.h...@hofr.at return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than assigning it to an incorrect type variable. Signed-off-by: Nicholas Mc Guire