diff options
author | Indan Zupancic <Indan.Zupancic@mep-info.com> | 2022-05-05 13:47:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 23:00:21 +0200 |
commit | 401fb66a355eb0f22096cf26864324f8e63c7d78 (patch) | |
tree | 80630ede0f485ff5dcfb7aca84859b25e2e5c5ad /drivers/net/mctp | |
parent | tty: n_gsm: fix invalid gsmtty_write_room() result (diff) | |
download | linux-401fb66a355eb0f22096cf26864324f8e63c7d78.tar.xz linux-401fb66a355eb0f22096cf26864324f8e63c7d78.zip |
fsl_lpuart: Don't enable interrupts too early
If an irq is pending when devm_request_irq() is called, the irq
handler will cause a NULL pointer access because initialisation
is not done yet.
Fixes: 9d7ee0e28da59 ("tty: serial: lpuart: avoid report NULL interrupt")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Indan Zupancic <Indan.Zupancic@mep-info.com>
Link: https://lore.kernel.org/r/20220505114750.45423-1-Indan.Zupancic@mep-info.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/mctp')
0 files changed, 0 insertions, 0 deletions