Re: [PATCH 1/6] lib / string_helpers: clean up test suite

2014-07-03 Thread Andy Shevchenko
On Wed, 2014-07-02 at 14:54 -0700, Andrew Morton wrote: > On Wed, 2 Jul 2014 16:20:24 +0300 Andy Shevchenko > wrote: [] > > + pr_err("Test '%s' failed: flags = %u\n", name, flags); > > + > > + print_hex_dump(KERN_WARNING, "Input: ", DUMP_PREFIX_NONE, 16, 1, > > + in, p, tr

Re: [PATCH 1/6] lib / string_helpers: clean up test suite

2014-07-02 Thread Andrew Morton
On Wed, 2 Jul 2014 16:20:24 +0300 Andy Shevchenko wrote: > This patch prepares test suite for a following update. It introduces > test_string_check_buf() helper which checks the result and dumps an error. > > ... > > --- a/lib/test-string_helpers.c > +++ b/lib/test-string_helpers.c > @@ -10,6