]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib-test-string_helpersc-add-string_get_size-tests-v5
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 21 Oct 2015 22:03:52 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:52 +0000 (09:03 +1100)
commitcbb30a5056e3dd2a49ae8ba8a43fed4f7597beb7
treef30458860d0276b52066f58735a33574717cfba4
parent29f3d1402a27e996fba438c006c246a2c8b7f8f7
lib-test-string_helpersc-add-string_get_size-tests-v5

- Single quotes in pr_warn() to see empty strings [Andy Shevchenko].
- Check for test validity compile-time [Rasmus Villemoes, Andy Shevchenko].
- All __test_string_get_size() arguments are const.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: James Bottomley <JBottomley@Odin.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test-string_helpers.c