Re: [PATCH] Fix linked-list KUnit test when run multiple times

From: David Gow
Date: Fri Jan 24 2020 - 18:13:44 EST


On Fri, Jan 24, 2020 at 2:01 PM Brendan Higgins
<brendanhiggins@xxxxxxxxxx> wrote:
> Oh good, I am glad we are getting rid of those static variables. (I
> thought we already dropped those - whoops.) I think this drops this
> last of them, can you confirm David?

Yeah, this is the last of them.

I vaguely recall a suggestion that it may be worth testing that the
LIST_HEAD() macro works with static, but as mentioned in the
description, the for_each_entry_* tests probably aren't the best place
to do that anyway...

-- David