diff options
author | 2019-04-24 17:51:05 +0200 | |
---|---|---|
committer | 2019-05-09 00:41:00 -0500 | |
commit | 68a1c8485cf83734d4da9d81cd3b5d2ae7c0339b (patch) | |
tree | f2088f309e535a68f5040fc952b8411aaa366659 /scripts/gdb/linux/utils.py | |
parent | mailbox: imx: use devm_platform_ioremap_resource() to simplify code (diff) | |
download | wireguard-linux-68a1c8485cf83734d4da9d81cd3b5d2ae7c0339b.tar.xz wireguard-linux-68a1c8485cf83734d4da9d81cd3b5d2ae7c0339b.zip |
mailbox: stm32-ipcc: check invalid irq
On failure of_irq_get() returns a negative value or zero, which is
not handled as an error in the existing implementation.
Instead of using this API, use platform_get_irq() that returns
exclusively a negative value on failure.
Also, do not output an error log in case of defer probe error.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions