1
0
Fork 0

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 <B38611@freescale.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
5.4-rM2-2.2.x-imx-squashed
Fugang Duan 2015-11-26 17:44:25 +08:00 committed by Dong Aisheng
parent 98648c7d0e
commit 969c959781
1 changed files with 3 additions and 3 deletions

View File

@ -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;
};