Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1082218ybl; Fri, 24 Jan 2020 15:14:47 -0800 (PST) X-Google-Smtp-Source: APXvYqy4U54fZVNTozcp87fHgmo4fKdoumNWjlxNhv6pHmyZ9b/VsnG57UjjVTDTWi3Yn1gY67hF X-Received: by 2002:a05:6830:1482:: with SMTP id s2mr4682647otq.285.1579907687016; Fri, 24 Jan 2020 15:14:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579907687; cv=none; d=google.com; s=arc-20160816; b=nrRwmwM3/V+09T9fuBaocGjtnw2Vwv0s7O+9EzJB8NggLXbx06uWmAfD463GwFWywd s2o++ELPPj8Z4NFXaJStfQ/5ZY9G/m4iQPZntB0uJfQq2yfG329fT2ipA7r9boMxCVpn 8Om3P3cUeoGJdrhezE8kKeo8Pc1qThPazVkInjHi0WJLdd3mKVFywFPOclc/I7UqB8O9 1Qi0Vfv4a+vL7Qj8yJKezlVkdD/b9V0wlab00Fln4RoxU8Vq+D+CsMMJxruloldgMNFx NgETgRfcUi0QfOprUlaR5mJV8pRFKNvLaSX+SbM9pqn1Af8mkyVLq3Z9E6y0mlX6uo91 YdJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=xWxAa5bHJ6PMK9NxJf+sotV/H1bquBNTcrRDY2YcrUw=; b=bGc0ptS4j/QLxFi9wuCqCMlz6A1e2X6cmle9OwIqB881FlqRDa0Tj8toIsVUtbFkle gLBr1zdITFlGULPO3NYbMTXqrIkdBMjQ0h+nRQjJNYNFvG5ESgok6jS30uQl/LFip+76 ViRrBi8OjLXYGiy+uzvdWUG0kqlt1WNoKyzwPTE961c1ZXLzHJ3gpI8AjnkErv5PRYiZ Kxgo8f6rFozPnTvrCvgLsJttnVWb0V7B55GGJggnFlwDVQvDSOTWje+rfxyna4A+PfOG rBP4eB8C1itb7dVXRN4eotHlB+za13YHkZX5D+sQcT+pFSe0ZsBEBmWA0ZIcjs/fZFg3 m5qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JFwEgiMl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21si3819937oth.274.2020.01.24.15.14.35; Fri, 24 Jan 2020 15:14:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JFwEgiMl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729367AbgAXXNm (ORCPT + 99 others); Fri, 24 Jan 2020 18:13:42 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:41390 "EHLO mail-wr1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729255AbgAXXNm (ORCPT ); Fri, 24 Jan 2020 18:13:42 -0500 Received: by mail-wr1-f44.google.com with SMTP id c9so3967421wrw.8 for ; Fri, 24 Jan 2020 15:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xWxAa5bHJ6PMK9NxJf+sotV/H1bquBNTcrRDY2YcrUw=; b=JFwEgiMlTVLpCCLAcgaTLVUSaehg81QYgNPM3b1Ym2b5z/nL3KqJQF88KbVz9cdk9r CTzjE5+aAMbtk7ELcq2bgO9K+zAzqamtgzbJUMhCE2UtMUId4YJmmt8mZWGNI/msC6uq Ib2YT51CLEO/CBYA44ZPxKkuKAAj6vBBknHK61TX41z50xOOv718Q16vwHsm9sWXlCtL Wyur4nSjXjUJVz9SkntFxcVa3uFr0o7zR5qlVSxRfX4/BM8/LGrXcy5sKU76ruA40fB6 +iMCJl1NxAIJAt+H+0XVBK1FOWDcMk82vh+AGN1kASIytgA9VaVBpwknfn4st2dVzmG9 UfPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xWxAa5bHJ6PMK9NxJf+sotV/H1bquBNTcrRDY2YcrUw=; b=c/T/HOy9KEQ5Gj+2gtqwIA9OHLicrjLjOaMrj5PT1aaVGf/l1GecdwDPfDkTMcgH/9 xsMnd1D61Z/RiA4k0lW92RMuP49o9joe0YEDrDqgDedRiti0CR0PPZJVrfUAEwwsPuF0 Ur1WsvAv6hetXVHUz7mXUf/7YCZWFcE+ASKCfoeIAgypfrOf5T6duZwKKfkd8i/kcMTR a2jDdV6UPiiunk4PUH6jDZzvQK9GVdPgG/o7Kmc7T3f4dNWYa8Uk/9Wn0z1ZuO8fFh57 ls3BGFXM2yJ1hjxpG6imyiHOhBwtxy0EKxKM3eqIQvyP88E9ia63xA7wSZJ3OxiBsE2U JETg== X-Gm-Message-State: APjAAAVBdFP1PGTTi4VBWb8ltHkf2SQ0OPT1S0VqDx1rBTQwQoqOutWP OQvUh1ztvWFQqAvz8RlzImFmninQSXztIiciTN6y+w== X-Received: by 2002:a5d:6344:: with SMTP id b4mr6722428wrw.414.1579907619941; Fri, 24 Jan 2020 15:13:39 -0800 (PST) MIME-Version: 1.0 References: <20200124194507.34121-1-davidgow@google.com> In-Reply-To: From: David Gow Date: Fri, 24 Jan 2020 15:13:28 -0800 Message-ID: Subject: Re: [PATCH] Fix linked-list KUnit test when run multiple times To: Brendan Higgins Cc: shuah , KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Alan Maguire Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2020 at 2:01 PM Brendan Higgins 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