diff options
author | Fugang Duan <b38611@freescale.com> | 2015-11-26 17:44:25 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 11:02:39 -0600 |
commit | 78bcf764e8737b1d16fad2183d1d0484696144e8 (patch) | |
tree | c0077fc2425e4fa846ebea6bf870afa6ffb399b3 /drivers | |
parent | 8344037faa80b055f4a4a7b76e223b9799728753 (diff) |
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>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mxc/mlb/mxc_mlb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mxc/mlb/mxc_mlb.c b/drivers/mxc/mlb/mxc_mlb.c index c2a981481f20..2fe6839e8a68 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; }; |