Skip to content

lib/printbuf: New data structure for printing strings

Kent Overstreet lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 of 32 patches 0 repliesNew

21 of 32 patches are in this archive. Their subjects are numbered up to 32.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32lib/printbuf: New data structure for printing stringsinclude/linux/printbuf.h+122 -00 replies
2/32lib/string_helpers: Convert string_escape_mem() to printbufinclude/linux/string_helpers.h lib/string_helpers.c+125 -950 replies
3/32vsprintf: Convert to printbufinclude/linux/kernel.h include/linux/string.h lib/vsprintf.c+643 -7330 replies
4/32lib/hexdump: Convert to printbufinclude/linux/kernel.h lib/hexdump.c lib/test_hexdump.c+159 -1230 replies
5/32lib/string_helpers: string_get_size() now returns characters wroteinclude/linux/string_helpers.h lib/string_helpers.c+5 -60 replies
6/32lib/printbuf: Heap allocationinclude/linux/printbuf.h lib/Makefile lib/printbuf.c+184 -180 replies
7/32lib/printbuf: Tabstops, indentinginclude/linux/printbuf.h lib/printbuf.c+155 -00 replies
8/32lib/printbuf: Unit specifiersinclude/linux/printbuf.h lib/printbuf.c+72 -00 replies
9/32vsprintf: Improve number()lib/vsprintf.c+41 -420 replies
10/32vsprintf: prt_u64_minwidth(), prt_u64()include/linux/kernel.h lib/vsprintf.c+48 -500 replies
11/32test_printf: Drop requirement that sprintf not write past nullib/test_printf.c+0 -60 replies
12/32vsprintf: Start consolidating printf_spec handlinglib/vsprintf.c+141 -1070 replies
13/32vsprintf: Refactor resource_string()lib/vsprintf.c+24 -270 replies
14/32vsprintf: Refactor fourcc_string()lib/vsprintf.c+12 -150 replies
15/32vsprintf: Refactor ip_addr_string()lib/vsprintf.c+37 -770 replies
16/32vsprintf: Refactor mac_address_string()lib/vsprintf.c+7 -110 replies
17/32vsprintf: time_and_date() no longer takes printf_speclib/vsprintf.c+10 -100 replies
18/32vsprintf: flags_string() no longer takes printf_speclib/vsprintf.c+5 -40 replies
19/32vsprintf: Refactor device_node_string, fwnode_stringlib/vsprintf.c+29 -440 replies
20/32vsprintf: Refactor hex_string, bitmap_string_list, bitmap_stringlib/vsprintf.c+27 -320 replies
21/32Input/joystick/analog: Convert from seq_buf -> printbufdrivers/input/joystick/analog.c+10 -130 replies

Reviews trailers per patch

2 of 21 patches have a Reviewed-by or Acked-by.

PatchMatthew Wilcox (Oracle)Andy Shevchenko
1/32R-b
2/32
3/32
4/32
5/32A-b
6/32
7/32
8/32
9/32
10/32
11/32
12/32
13/32
14/32
15/32
16/32
17/32
18/32
19/32
20/32
21/32

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread