summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-04-09 02:08:51 +0545
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:24:41 -0700
commitf13f1b0cb56491547243e502988282e5be50bc44 (patch)
treed7eead94dde389c86886c684f5ea8376a02a910c /scripts
parent20e4b31f8e837d923eee91cd5458f823a11cca9a (diff)
seq_buf: export seq_buf_putmem_hex() and add KUnit tests
The seq_buf KUnit suite does not exercise seq_buf_putmem_hex(). Add one test for the len > 8 chunking path and one overflow test where a later chunk no longer fits in the buffer. Export seq_buf_putmem_hex() as well so SEQ_BUF_KUNIT_TEST=m links cleanly. Without the export, modpost reports seq_buf_putmem_hex as undefined when seq_buf_kunit is built as a module. Link: https://lore.kernel.org/20260408202351.21829-1-shuvampandey1@gmail.com Signed-off-by: Shuvam Pandey <shuvampandey1@gmail.com> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Cc: David Gow <david@davidgow.net> Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions