aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-01-26 11:04:47 +0000
committerMark Brown <[email protected]>2022-01-26 13:32:36 +0000
commite937440f7fc444a3e3f1fb75ea65292d6f433a44 (patch)
treee65ffca022ce791fc5ee04bfc3f1e16ff517ab15 /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parent23e3404de1aecc62c14ac96d4b63403c3e0f52d5 (diff)
spi: meson-spicc: add IRQ check in meson_spicc_probe
This check misses checking for platform_get_irq()'s call and may passes the negative error codes to devm_request_irq(), which takes unsigned IRQ #, causing it to fail with -EINVAL, overriding an original error code. Stop calling devm_request_irq() with invalid IRQ #s. Fixes: 454fa271bc4e ("spi: Add Meson SPICC driver") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions