diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-11-07 14:37:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-11-09 04:37:00 -0800 |
| commit | ed8c8e1ecca08eb172463816ab290157b9d6ca0b (patch) | |
| tree | 074eb24dd46ef2315d6d3716c5a26544659a58ff /scripts/stackusage | |
| parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
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 <[email protected]>
Reviewed-by: Ulrich Hecht <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions