Re: [PATCH] mmc: dw_mmc: convert the variable type of irq

2012-10-23 Thread Chris Ball
Hi, On Fri, Sep 28 2012, Will Newton wrote: On Fri, Sep 28, 2012 at 6:21 AM, Seungwon Jeon tgih@samsung.com wrote: Even though platform_get_irq returns error, 'host-irq' always has an unsigned value. Less-than-zero comparison of an unsigned value is never true. Type of 'unsigned int'

Re: [PATCH] mmc: dw_mmc: convert the variable type of irq

2012-09-28 Thread Will Newton
On Fri, Sep 28, 2012 at 6:21 AM, Seungwon Jeon tgih@samsung.com wrote: Even though platform_get_irq returns error, 'host-irq' always has an unsigned value. Less-than-zero comparison of an unsigned value is never true. Type of 'unsigned int' will be changed for 'int'. Signed-off-by:

[PATCH] mmc: dw_mmc: convert the variable type of irq

2012-09-27 Thread Seungwon Jeon
Even though platform_get_irq returns error, 'host-irq' always has an unsigned value. Less-than-zero comparison of an unsigned value is never true. Type of 'unsigned int' will be changed for 'int'. Signed-off-by: Seungwon Jeon tgih@samsung.com --- include/linux/mmc/dw_mmc.h |2 +- 1 files