Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad5278cd authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Dan Williams
Browse files

dmatest: print message on debug level in case of no error



Let's move the behaviour of printing no error message back to the pre v3.10
times. It means we will use debug level in the described case, and a warning
level otherwise.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDan Williams <djbw@fb.com>
parent e24775e4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -407,7 +407,11 @@ static int thread_result_add(struct dmatest_info *info,
	list_add_tail(&tr->node, &r->results);
	mutex_unlock(&info->results_lock);

	if (tr->type == DMATEST_ET_OK)
		pr_debug("%s\n", thread_result_get(r->name, tr));
	else
		pr_warn("%s\n", thread_result_get(r->name, tr));

	return 0;
}