tty: tty_buffer: cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | tty: tty_buffer: switch data type to u8include/ | +2 | 0 replies | |
| 2/10 | tty: tty_buffer: use struct_size() in tty_buffer_alloc()drivers/ | +1 | 0 replies | |
| 3/10 | tty: tty_buffer: unify tty_insert_flip_string_{fixed_flag,flags}()Documentation/ drivers/ include/ | +61 | 0 replies | |
| 4/10 | tty: tty_buffer: warn if losing flags in __tty_insert_flip_string_flags()drivers/ | +3 | 0 replies | |
| 5/10 | tty: tty_buffer: switch insert functions to size_tdrivers/ include/ | +18 | 0 replies | |
| 6/10 | tty: tty_buffer: let tty_prepare_flip_string() return size_tdrivers/ include/ | +4 | 0 replies | |
| 7/10 | tty: tty_buffer: use __tty_insert_flip_string_flags() in tty_insert_flip_char()Documentation/ drivers/ include/ | +11 | 0 replies | |
| 8/10 | tty: tty_buffer: better types in __tty_buffer_request_room()drivers/ | +2 | 0 replies | |
| 9/10 | tty: tty_buffer: initialize variables in initializers alreadydrivers/ | +3 | 1 reply | |
| 10/10 | tty: tty_buffer: invert conditions in __tty_buffer_request_room()drivers/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] tty: tty_buffer: cleanup
This is another part (say part II.) of the previous type unification across the tty layer[1]. This time, in tty_buffer. Apart from type changes, this series contains a larger set of refactoring of the code. Namely, unification of byte stuffing into the tty buffers into a single function.
[1] https://lore.kernel.org/all/[email protected]/
Jiri Slaby (SUSE) (10):
tty: tty_buffer: switch data type to u8
tty: tty_buffer: use struct_size() in tty_buffer_alloc()
tty: tty_buffer: unify tty_insert_flip_string_{fixed_flag,flags}()
tty: tty_buffer: warn if losing flags in
__tty_insert_flip_string_flags()
tty: tty_buffer: switch insert functions to size_t
tty: tty_buffer: let tty_prepare_flip_string() return size_t
tty: tty_buffer: use __tty_insert_flip_string_flags() in
tty_insert_flip_char()
tty: tty_buffer: better types in __tty_buffer_request_room()
tty: tty_buffer: initialize variables in initializers already
tty: tty_buffer: invert conditions in __tty_buffer_request_room()
Documentation/driver-api/tty/tty_buffer.rst | 7 +- drivers/tty/tty_buffer.c | 169 ++++++-------------- include/linux/tty_buffer.h | 4 +- include/linux/tty_flip.h | 64 ++++++-- 4 files changed, 111 insertions(+), 133 deletions(-)
Signature · 1 line
2.41.0