]> git.baikalelectronics.ru Git - kernel.git/commit
test_printf: Remove custom appending of '|'
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 19 Oct 2021 14:26:19 +0000 (15:26 +0100)
committerPetr Mladek <pmladek@suse.com>
Wed, 27 Oct 2021 11:40:13 +0000 (13:40 +0200)
commit2e799b9eccca59da10525c6410a253f35a2d6d5a
tree336cf15809f2e5b269e22d567e6936bf26af7c0a
parentcbc0f4ed44318205a9ca465510bb770a54f2794a
test_printf: Remove custom appending of '|'

Instead of having an ifdef to decide whether to print a |, use the
'append' functionality of the main loop to print it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211019142621.2810043-4-willy@infradead.org
lib/test_printf.c