diff options
author | Yash Shah <[email protected]> | 2020-01-28 10:54:21 +0530 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-02-10 13:54:17 +0100 |
commit | a924eae75106258c0797706a0578c5af499c9ff5 (patch) | |
tree | 348316e129f90221570ae8562c7d8f6896545def /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2d5a2f913b658a7ae984773a63318ed4daadf4af (diff) |
gpio: sifive: fix static checker warning
Typcasting "irq_state" leads to the below static checker warning:
The fix is to declare "irq_state" as unsigned long instead of u32.
drivers/gpio/gpio-sifive.c:97 sifive_gpio_irq_enable()
warn: passing casted pointer '&chip->irq_state' to
'assign_bit()' 32 vs 64.
Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Yash Shah <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Marc Zyngier <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions