lkml.org 
[lkml]   [2013]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] dmaengine: make dmatest less noisy
From
Date
On Mon, 2013-08-19 at 10:25 +0200, Linus Walleij wrote: 
> Commit 95019c8c5 "dmatest: gather test results in the linked list"
> started to warning whenever we add results to a test thread.
> A warning for something completely normal? This is just cluttering
> my terminal. Move to debug prints.
>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> --- a/drivers/dma/dmatest.c
> +++ b/drivers/dma/dmatest.c

> @@ -406,7 +406,7 @@ static int thread_result_add(struct dmatest_info *info,
> list_add_tail(&tr->node, &r->results);
> mutex_unlock(&info->results_lock);
>
> - pr_warn("%s\n", thread_result_get(r->name, tr));
> + pr_debug("%s\n", thread_result_get(r->name, tr));

This is the idea behind original DMATEST module logic.
As far as I understand we would like to have them as warnings in case
when driver is compiled in and tests are run from the beginning.

Though, I sent a correction patch that moves "No error" messages to
debug level which, I think, makes sense. I don't know why Dan still keep
silent on my last message in the discussion [1].

[1] http://www.spinics.net/lists/kernel/msg1581822.html


--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy


\
 
 \ /
  Last update: 2013-08-19 11:21    [W:1.323 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site