Skip to content
Commit 4556c36f authored by Chen Ni's avatar Chen Ni Committed by Greg Kroah-Hartman
Browse files

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: default avatarChen Ni <nichen@iscas.ac.cn>
Acked-by: default avatarJacky Huang <ychuang3@nuvoton.com>
Link: https://lore.kernel.org/r/20230915071106.3347-1-nichen@iscas.ac.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ce9ecca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment