From 2605ad0b09affb4978be909dbc78c0e2324ccc57 Mon Sep 17 00:00:00 2001 From: Fugang Duan Date: Thu, 26 Nov 2015 17:44:25 +0800 Subject: 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(-) (limited to 'drivers/mxc') diff --git a/drivers/mxc/mlb/mxc_mlb.c b/drivers/mxc/mlb/mxc_mlb.c index fa6cff1d5b04..cc899c0a06cf 100755 --- a/drivers/mxc/mlb/mxc_mlb.c +++ b/drivers/mxc/mlb/mxc_mlb.c @@ -378,9 +378,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; }; -- cgit v1.2.3