Re: [PATCH] lib/test_bitmap.c: Fix bitmap optimisation tests to report errors correctly

From: Michael Ellerman
Date: Fri May 11 2018 - 09:48:36 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Wed, 9 May 2018 21:43:28 +1000 Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
>> From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
>>
>> I had neglected to increment the error counter when the tests failed,
>> which made the tests noisy when they fail, but not actually return an
>> error code.
>>
>> Reported-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>> Signed-off-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
>> Fixes: 3cc78125a081 ("lib/test_bitmap.c: add optimisation tests")
>> Cc: stable@xxxxxxxxxxxxxxx # v4.13+
>> Tested-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>
> I'll add your SOB to my copy of this, as you were on the patch delivery path.

Ah yep, I wasn't on the original delivery path, but you're right I am now.

Thanks for fixing it up.

cheers