Rasmus Villemoes writes:
> On Thu, Sep 17 2015, Vitaly Kuznetsov wrote:
>
>> +
>> +static __init void test_string_get_size(void)
>> +{
>> +test_string_get_size_one(16384, 512, STRING_UNITS_2, "8.00 MiB");
>> +test_string_get_size_one(8192, 4096, STRING_UNITS_10, "32.7 MB");
>
> This is a
On Thu, Sep 17 2015, Vitaly Kuznetsov wrote:
> +
> +static __init void test_string_get_size(void)
> +{
> + test_string_get_size_one(16384, 512, STRING_UNITS_2, "8.00 MiB");
> + test_string_get_size_one(8192, 4096, STRING_UNITS_10, "32.7 MB");
This is a little late, but I just noticed tha
Add a couple of simple tests for string_get_size(). The last one will hang
the kernel without the 'lib/string_helpers.c: fix infinite loop in
string_get_size()' fix.
Signed-off-by: Vitaly Kuznetsov
---
lib/test-string_helpers.c | 36
1 file changed, 36 insert
3 matches
Mail list logo