summaryrefslogtreecommitdiff
path: root/drivers/mxc/mlb
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-11-26 17:44:25 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:23:57 +0800
commit2605ad0b09affb4978be909dbc78c0e2324ccc57 (patch)
tree44afcfdecebfa018f1c60356b7c21aed00d241b2 /drivers/mxc/mlb
parentd4dfb206b74a7fec9024b7024286b0ee92fa6382 (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/mxc/mlb')
-rwxr-xr-xdrivers/mxc/mlb/mxc_mlb.c6
1 files changed, 3 insertions, 3 deletions
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;
};