diff options
author | Jiri Slaby <[email protected]> | 2022-09-27 13:18:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-30 14:58:45 +0200 |
commit | 523f54ed3be7e23340b1c43921e39fddfe149c09 (patch) | |
tree | 522bb6cb8f5fb3b6069778307a109278ae830565 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ed9bf4aea06e36bbb3482e01061c433d703bcaff (diff) |
tty: serial: unify TX space reads under altera_jtaguart_tx_space()
TX space reads from the control register are performed in various forms
on 4 places in altera_jtaguart. Unify all those and do the read and
masking on a single place.
The new helper altera_jtaguart_tx_space() uses FIELD_GET(), so we can
drop ALTERA_JTAGUART_CONTROL_WSPACE_OFF now.
Cc: Tobias Klauser <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Acked-by: Tobias Klauser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions