summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZhang Shurong <zhang_shurong@foxmail.com>2023-08-26 12:32:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-18 12:14:43 +0300
commit4e8da86fc1f767371f4395d0d94870ed1e08aa1e (patch)
treeab974082d52a6de2f3e24603ae0bc1e7c42fb917 /include/linux
parent66ebe67d1b68bebc4b49d022a28f8c6492044f32 (diff)
downloadlinux-4e8da86fc1f767371f4395d0d94870ed1e08aa1e.tar.xz
tty: serial: linflexuart: Fix to check return value of platform_get_irq() in linflex_probe()
The platform_get_irq might be failed and return a negative result. So there should have an error handling code. Fixed this by adding an error handling code. Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Link: https://lore.kernel.org/r/tencent_234B0AACD06350E10D7548C2E086A9166305@qq.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions