diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-11-05 12:19:39 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-11-11 11:19:06 +0100 |
commit | 761becb29183c4e2ad9ff5f63933170c8fffd544 (patch) | |
tree | 3d5c39f98e0335d65a391f82e4caf987f2c5b900 /kernel | |
parent | irqchip: Ingenic: Add process for more than one irq at the same time. (diff) | |
download | linux-761becb29183c4e2ad9ff5f63933170c8fffd544.tar.xz linux-761becb29183c4e2ad9ff5f63933170c8fffd544.zip |
irqchip/ti-sci-inta: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
A coccicheck run provided information like the following.
drivers/irqchip/irq-ti-sci-inta.c:250:9-16: WARNING: ERR_CAST can be used
with vint_desc.
Generated by: scripts/coccinelle/api/err_cast.cocci
Thus adjust the exception handling in one if branch.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/776b7135-26af-df7d-c3a9-4339f7bf1f15@web.de
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions