Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-03-30 Thread Brian Norris
On Sun, Feb 01, 2015 at 11:55:37AM -0500, Nicholas Mc Guire wrote: > 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. > > The

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-03-30 Thread Brian Norris
On Sun, Feb 01, 2015 at 11:55:37AM -0500, Nicholas Mc Guire wrote: 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. The

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Nicholas Mc Guire
On Mon, 09 Feb 2015, Ezequiel Garcia wrote: > On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: > > 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] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Ezequiel Garcia
On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: > 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. > > The timeout declaration

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Ezequiel Garcia
On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: 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. The timeout declaration

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Nicholas Mc Guire
On Mon, 09 Feb 2015, Ezequiel Garcia wrote: On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: 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

[PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-01 Thread 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. The timeout declaration cleanup is just for readability Signed-off-by: Nicholas

[PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-01 Thread 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. The timeout declaration cleanup is just for readability Signed-off-by: Nicholas