Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1119331ybl; Fri, 24 Jan 2020 16:04:57 -0800 (PST) X-Google-Smtp-Source: APXvYqylP4CE56mfC4pINcqBYdqNTswytA8H7JMQHaZu4/gpzB6VVCOjfEoTZbgrDlqzNyg3FjG3 X-Received: by 2002:aca:ab0e:: with SMTP id u14mr994184oie.1.1579910697087; Fri, 24 Jan 2020 16:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579910697; cv=none; d=google.com; s=arc-20160816; b=AHlQpD6uMYH3+3klDY/U0uq9oapE6Ud68EFg+GedCekxF0qzlSwqoi1CpGqc4j0n10 8V5RCovZdHkvX2KRf0PFC6ZAXcx9J+qVsyvOzdBT+A3mnFi04Eiub7DY18HL6Nzt5DZ/ Zxx1W9pslL1K5TjMUBwhsqGAf/PAnTRTAvfN7QwlRrHGmINiTdk8tzzuGeg0EOJX5pvG 0P5RPaYq79SqKze0vwEVU4PRLqDm6bRmPPWBqB6MqODIqCg2zzUu1VfiysTYCntDCY0C IcNAFEoHBHB9eTbDiwoGd3uT9ImUtnSpM44rUZ3Fc+jY8Vh5af1soNg1fG7oGV+1uuXP LweA== 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=Ynnd2SGOMXK9FL1OzGl6AxrSQz4LtuhsqKDnn7ScKAo=; b=ETam3kWgID2T3h4DPZfAeukGcqThhV6EZyzk/cDHXbg1GPh3IknTwG3olD8Qik/JWR nsJ+h0YOExa490KPzAj8NW0pRlVSVJlLFaBxgRY3XRTY+MEQvqvyjjaJRAvr89Zp3iVE Z8i9FOEM1W4rUrlpgzBafgDChqVjjle8YkkrBBbju8Xo0i6R7ZRGflqxQA0mGB6bq6yO TN1jH+pd5OsF6lE00I2OLR67smB2CHA3BnUyEWjqRapfRJKQWsBonvikO9dLhMdKqTve cwHxALmzlorl22nBLjxaRu43xvQbZdmwK6YB4p7SiOHsPvIgWXZPobn835S/mCzI5mdA 8xLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="wS2WUDV/"; 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 i8si507435oih.206.2020.01.24.16.04.44; Fri, 24 Jan 2020 16:04:57 -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="wS2WUDV/"; 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 S1729578AbgAYACn (ORCPT + 99 others); Fri, 24 Jan 2020 19:02:43 -0500 Received: from mail-pl1-f179.google.com ([209.85.214.179]:37949 "EHLO mail-pl1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729367AbgAYACm (ORCPT ); Fri, 24 Jan 2020 19:02:42 -0500 Received: by mail-pl1-f179.google.com with SMTP id t6so1432908plj.5 for ; Fri, 24 Jan 2020 16:02:42 -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=Ynnd2SGOMXK9FL1OzGl6AxrSQz4LtuhsqKDnn7ScKAo=; b=wS2WUDV/7szOKx4WVC47xljWaVANkCKfZcuv4uHhbjYz8UVMGzJv/WtL/ZUOKDQdBT eYKLwXmid6jl1YRudXdCBMuqnvIseNtqbAjpFg1AAUB32FlW/sheZ1UyRwpm2Ae32/N0 REx3X4Shn79Y4OBsMWBOIC6Ci9/Zwn9BYqS1hkbN86VMoVePiyaNzCteKN1JK0MWbm7u WkXiyWWM0y4updTQjFCJv2PU0aqyfDUWFH3MScocS5IBubO89Gzjl7AlpVBYiSN+qJyL 8V87+5EtGpLiSJuC9XOx18ttmdsqMY/at42xiNqJ04q7X9QND3wLHDohtF8JFIZ1jQcK kvWQ== 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=Ynnd2SGOMXK9FL1OzGl6AxrSQz4LtuhsqKDnn7ScKAo=; b=XVdw96F8+oprcllgiURDYVA62pWLwTsyh/UilAKks8nr3QJaDYwCYrhZkk8gHkfqNO 3ijfR/oNSUYU97B0X/dEHMc2VnWoeXmPvRmw4Rvierbcv2HQ/r/JPuitnjChrCe0ZrRD pZwJxtJFf0ev8NrkhxyupK01CETX3A2BJsM0a9T0OWJFG4I4AxHxkqoMJqSmEDWr8Lum 5u9Ywe3fSY/bhbDJt75MJoNAkPsCmMcrW2ZwpveGylKlYeSPbctdCfV9eCn6TkPSXYPA GvvVaBlKb/FXGthOBgRcQAj3fyQ8kmrRA/Xwx/lsSDdZMLywMro23ipjmTsIvWL0ANVU HoMA== X-Gm-Message-State: APjAAAXT3PfMGzuysesGGrP/utsVxcp6yXQ9svlUwYVsQ/oa6KRgG4Nu 9oNxLD7AE7KNA8dZdY3QiSwVBlfn8zlU5Tyu4pW1JQ== X-Received: by 2002:a17:90a:c390:: with SMTP id h16mr2010910pjt.131.1579910561819; Fri, 24 Jan 2020 16:02:41 -0800 (PST) MIME-Version: 1.0 References: <20200124194507.34121-1-davidgow@google.com> In-Reply-To: From: Brendan Higgins Date: Fri, 24 Jan 2020 16:02:30 -0800 Message-ID: Subject: Re: [PATCH] Fix linked-list KUnit test when run multiple times To: David Gow 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 3:13 PM David Gow wrote: > > 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... Ah, I think I missed that. Makes sense.