From f15af3bce32f10f655cb8bcbd73889c8a71f7ae4 Mon Sep 17 00:00:00 2001 From: Fugang Duan Date: Thu, 26 Nov 2015 17:44:25 +0800 Subject: [PATCH] MLK-11910 mxc: mlb: fix irq unsigned_compare issue After coverity code check, it tips: unsigned_compare: This less-than-zero comparison of an unsigned value is never true Interrupt variable must be signed type. Signed-off-by: Fugang Duan --- drivers/mxc/mlb/mxc_mlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mxc/mlb/mxc_mlb.c b/drivers/mxc/mlb/mxc_mlb.c index 02485f15254f..6bec2bfd7554 100755 --- a/drivers/mxc/mlb/mxc_mlb.c +++ b/drivers/mxc/mlb/mxc_mlb.c @@ -377,9 +377,9 @@ struct mlb_data { void __iomem *membase; /* mlb module base address */ struct gen_pool *iram_pool; u32 iram_size; - u32 irq_ahb0; - u32 irq_ahb1; - u32 irq_mlb; + int irq_ahb0; + int irq_ahb1; + int irq_mlb; u32 quirk_flag; }; -- 2.17.1