Messages in this thread | | | From | David Gow <> | Date | Fri, 24 Jan 2020 15:13:28 -0800 | Subject | Re: [PATCH] Fix linked-list KUnit test when run multiple times |
| |
On Fri, Jan 24, 2020 at 2:01 PM Brendan Higgins <brendanhiggins@google.com> 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
| |