Re: [PATCH v2] MIPS: ralink: Fix platform_get_irq's error checking

2017-11-23 Thread Sergei Shtylyov
On 11/23/2017 06:45 PM, Arvind Yadav wrote: The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: Subject

Re: [PATCH v2] MIPS: ralink: Fix platform_get_irq's error checking

2017-11-23 Thread Sergei Shtylyov
On 11/23/2017 06:45 PM, Arvind Yadav wrote: The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: Subject spelling was not correct.

[PATCH v2] MIPS: ralink: Fix platform_get_irq's error checking

2017-11-23 Thread Arvind Yadav
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: Subject spelling was not correct. change FIX in place

[PATCH v2] MIPS: ralink: Fix platform_get_irq's error checking

2017-11-23 Thread Arvind Yadav
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: Subject spelling was not correct. change FIX in place of 'ix'.