common/memtest.c: Distil common error reporting code
Move all of the common code for error message output into a new
function mem_test_report_failure() and convert the rest of the code to
use it.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6a69d23 commit f09e7cfb8f129d4e85514e92b68bf4c1d7bfd1e9
@Andrey Smirnov Andrey Smirnov authored on 13 May 2015
Sascha Hauer committed on 15 May 2015
Showing 1 changed file
View
common/memtest.c