Re: [PATCH] lib: kunit: Fix compilation test when using TEST_BIT_FIELD_COMPILE

From: Shuah Khan
Date: Fri Oct 16 2020 - 15:31:46 EST


On 10/16/20 12:42 PM, Brendan Higgins wrote:
On Thu, Oct 15, 2020 at 5:08 AM Vitor Massaru Iha <vitor@xxxxxxxxxxx> wrote:

A build condition was missing around a compilation test, this compilation
test comes from the original test_bitfield code.

And removed unnecessary code for this test.

Fixes: d2585f5164c2 ("lib: kunit: add bitfield test conversion to KUnit")
Signed-off-by: Vitor Massaru Iha <vitor@xxxxxxxxxxx>
Link: https://lore.kernel.org/linux-next/20201015163056.56fcc835@xxxxxxxxxxxxxxxx/

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>

Thanks for taking care of this so quickly!


Thank you both.

Applied to linux-kselftest kunit branch
I will send the pull request with this in a day or two.

Added Reported-by for Stephen. Thanks for finding the problem.

thanks,
-- Shuah