diff options
author | Geert Uytterhoeven | 2018-11-07 14:37:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-11-09 13:37:00 +0100 |
commit | ed8c8e1ecca08eb172463816ab290157b9d6ca0b (patch) | |
tree | 074eb24dd46ef2315d6d3716c5a26544659a58ff /.get_maintainer.ignore | |
parent | Linux 4.20-rc1 (diff) | |
download | kernel-qcow2-linux-ed8c8e1ecca08eb172463816ab290157b9d6ca0b.tar.gz kernel-qcow2-linux-ed8c8e1ecca08eb172463816ab290157b9d6ca0b.tar.xz kernel-qcow2-linux-ed8c8e1ecca08eb172463816ab290157b9d6ca0b.zip |
serial: sh-sci: Improve type-safety calling sci_receive_chars()
While ptr and port both point to the uart_port structure, the former is
the untyped pointer cookie passed to interrupt handlers.
Use the correctly typed port variable instead, to improve type-safety.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions