Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5428878ybl; Tue, 14 Jan 2020 08:47:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw6BNH348Ep8htOzFopeJmPgmkbudR+KmqZ0oeozBpax7+xTiRauVmZ9YhDZhACNYccaQaj X-Received: by 2002:a9d:7c8f:: with SMTP id q15mr17917607otn.140.1579020433889; Tue, 14 Jan 2020 08:47:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579020433; cv=none; d=google.com; s=arc-20160816; b=ymbDZLYf9EAqNzp0GAOBa5rQGQepmlks5DsaK/+TO3g0RcJ6OIpO4oDJuWEu+HMS+Q HNF/QgsnwFAXkGlm487h106yl6hLFTbFfsYoh4i4hcgihoGn+ewg6jrG0V5hq37NHVRc oxJgMTp0CiHJWN6++nakk3t5rIrICfKWZhkBzsYHOVQlA4dwfEBMQEv2y0RSIe5K886j hqj8sWNeXlFPSyJA8KvAyQpOzR2dbdFqUQHsOvn33cn4O7+B1tEpXSj2bixRSRo2hn05 RqJ9KM/Mb+intY+UnRjnukG6rxijpQ66ouPflJDX+MO9rJbj58MlJW6ha5zOCu7B/jiK WneQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Flw8yamdhbUI/Y8isJM9I81gkbm2so+Fjah3kdZccsI=; b=NXwHyBjfQsTDNMrWNMU//O3Yvu2skVO3QRxhiYdSh3vTAGN2i8hagRtV19Ny70DtwA w5GYSSiZheLZfclRhhNj/eeNdh+nbbVZgtnd1ISUg7e6KMIvUrL2aOhZoBxCzema0TuC HMEiNXYW20HKSJgt2+DnvpDqrFKwKw4S76WBNpThyOUlkIMwbyT4GU8qGEatWuEdRXPp 5r36Ab5bJIDbreZqIJMKMUAsigBsGzLJvHl6WkUcvfb+QX2/A0881Z5e50cSBSssf0Yn Dcj3Th4EMBxhNT1QzUYy0O3qO8K2iDvVm+hUX8EuhmoFQgyzt68SmTT2ocST1P4nNxwj bf7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=d2OVa2oi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si9564677otk.76.2020.01.14.08.47.03; Tue, 14 Jan 2020 08:47:13 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=d2OVa2oi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728773AbgANQp7 (ORCPT + 99 others); Tue, 14 Jan 2020 11:45:59 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:33284 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728739AbgANQp7 (ORCPT ); Tue, 14 Jan 2020 11:45:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Flw8yamdhbUI/Y8isJM9I81gkbm2so+Fjah3kdZccsI=; b=d2OVa2oiSFbtq1TKQwTTOGbix +J7m6UjsOOPGsrC7vja9rBloPfhe00FEHIT2QzGCRF3/8hg290T8McF7EA/HHhSz8ovVYDTk9AoYw PuLWKu7sggYQj7lxpZUbRHHsmLhv85btRed/hc55TtkxEekUY4XmMHozA3Fm6pPgm0UGYpXNg30lu 3WczxIg7RBeglC/yD3ZQvBgDHrjkEKoqLLiG2DcEQfKzEgj+jpMj0jIlav9pLkiSqiFxxWJzaatiR n4EOUYy93yNWtzTH2Blz7OcnE3+7BcitVKqeNU2fxJ5bziallXXPHLAkE1RRhSAp3GLI1pfqZXg3M GVvDl87eQ==; Received: from [2601:1c0:6280:3f0::ed68] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1irPKI-0007IP-Gy; Tue, 14 Jan 2020 16:45:58 +0000 Subject: Re: [PATCH] software node: introduce CONFIG_KUNIT_DRIVER_PE_TEST To: Alan Maguire Cc: brendanhiggins@google.com, gregkh@linuxfoundation.org, rjw@rjwysocki.net, dmitry.torokhov@gmail.com, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, linux-kselftest@vger.kernel.org, skhan@linuxfoundation.org References: <1579018183-14879-1-git-send-email-alan.maguire@oracle.com> <2242e184-93a5-147d-d603-4017ca86eba9@infradead.org> From: Randy Dunlap Message-ID: <51d7d427-2ef6-b0cd-ad23-2fb75b06b763@infradead.org> Date: Tue, 14 Jan 2020 08:45:56 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/14/20 8:42 AM, Alan Maguire wrote: > On Tue, 14 Jan 2020, Randy Dunlap wrote: > >> Hi Alan, >> >> On 1/14/20 8:09 AM, Alan Maguire wrote: >>> currently the property entry kunit tests are built if CONFIG_KUNIT=y. >>> This will cause warnings when merged with the kunit tree that now >>> supports tristate CONFIG_KUNIT. While the tests appear to compile >>> as a module, we get a warning about missing module license. >>> >>> It's better to have a per-test suite CONFIG variable so that >>> we can do selective building of kunit-based suites, and can >>> also avoid merge issues like this. >>> >>> Reported-by: Stephen Rothwell >> >> Reported-by: Randy Dunlap >> > > Apologies for missing you out here. > >>> Fixes: c032ace71c29 ("software node: add basic tests for property entries") >>> Signed-off-by: Alan Maguire >>> --- >>> drivers/base/test/Kconfig | 3 +++ >>> drivers/base/test/Makefile | 2 +- >>> 2 files changed, 4 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig >>> index 86e85da..d29ae95 100644 >>> --- a/drivers/base/test/Kconfig >>> +++ b/drivers/base/test/Kconfig >>> @@ -8,3 +8,6 @@ config TEST_ASYNC_DRIVER_PROBE >>> The module name will be test_async_driver_probe.ko >>> >>> If unsure say N. >>> +config KUNIT_DRIVER_PE_TEST >>> + bool "KUnit Tests for property entry API" >>> + depends on KUNIT >> >> Why is this bool instead of tristate? >> > > The support for building kunit and kunit tests as modules has not merged > into linux-next yet, so if we set the option to tristate the build would > fail for allmodconfig builds. Once it's merged we can revisit though; I > should have mentioned this, thanks for reminding me! Oh. I see. Thanks. -- ~Randy