diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-06-05 19:47:17 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 1c2a04567a40d629465f62c4590439e2f58dbd59 (patch) | |
tree | b6d8157018d224254d28d248981e54f69fffcb92 /Documentation/devicetree/bindings/dma/fsl-edma-v3.txt | |
parent | daca4d9611091a386e39a88cc76fe745821e875d (diff) |
MLK-15009 irqchip: imx-irqsteer: correct type of irqstat
The type of irqstat in irqsteer_irqchip_data unsigned long, actually
it needs to be 32bits width, so use unsigned int.
And use sizeof(irqsteer_data->irqstat[0]), instead of 4 when alloc
memory for irqsteer_data.
for_each_set_bit needs the second param type is unsigned long *, so
cast the irqsteer_data->irqstat to unsigned long *, this is safe here.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/dma/fsl-edma-v3.txt')
0 files changed, 0 insertions, 0 deletions