diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2023-09-15 07:11:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-18 11:14:42 +0200 |
commit | 4556c36f4a23fb218763cdb7a20f6a94f4faf1f8 (patch) | |
tree | 901a067342c60e684075f82a2f6f578c4aa455fe /drivers/tty/serial/sc16is7xx.c | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
tty: serial: ma35d1_serial: Add missing check for ioremap
Add check for ioremap() and return the error if it fails in order to
guarantee the success of ioremap().
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Jacky Huang <ychuang3@nuvoton.com>
Link: https://lore.kernel.org/r/20230915071106.3347-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sc16is7xx.c')
0 files changed, 0 insertions, 0 deletions