summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYash Shah <yash.shah@sifive.com>2020-01-28 08:24:21 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-02-10 15:54:17 +0300
commita924eae75106258c0797706a0578c5af499c9ff5 (patch)
tree348316e129f90221570ae8562c7d8f6896545def /tools/perf/scripts/python/stackcollapse.py
parent2d5a2f913b658a7ae984773a63318ed4daadf4af (diff)
downloadlinux-a924eae75106258c0797706a0578c5af499c9ff5.tar.xz
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 <dan.carpenter@oracle.com> Signed-off-by: Yash Shah <yash.shah@sifive.com> Link: https://lore.kernel.org/r/1580189061-14091-1-git-send-email-yash.shah@sifive.com Reviewed-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions