From: Seungwon Jeon Date: Fri, 28 Sep 2012 05:21:59 +0000 (+0900) Subject: mmc: dw_mmc: convert the variable type of irq X-Git-Tag: v3.7-rc5~8^2~16 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d676188e44680c2f2eb114a24b3b32e56165f079;p=~emulex%2Finfiniband.git mmc: dw_mmc: convert the variable type of irq 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 Acked-by: Will Newton Signed-off-by: Chris Ball --- diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index 7c6a1139d8f..31416760723 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h @@ -186,7 +186,7 @@ struct dw_mci { struct regulator *vmmc; /* Power regulator */ unsigned long irq_flags; /* IRQ flags */ - unsigned int irq; + int irq; }; /* DMA ops for Internal/External DMAC interface */